Line data Source code
1 : /**
2 : * @file AVXAbsRunSumProcessor.cpp
3 : *
4 : * @copyright This is part of the DUNE DAQ Software Suite, copyright 2020.
5 : * Licensing/copyright details are in the COPYING file that you should have
6 : * received with this code.
7 : */
8 :
9 : #include "tpglibs/AVXAbsRunSumProcessor.hpp"
10 :
11 : namespace tpglibs {
12 :
13 16 : REGISTER_AVXPROCESSOR_CREATOR("AVXAbsRunSumProcessor", AVXAbsRunSumProcessor)
14 :
15 8 : __m256i AVXAbsRunSumProcessor::process(const __m256i& signal) {
16 8 : return AVXRunSumProcessor::process(_mm256_abs_epi16(signal));
17 : }
18 :
19 : } // namespace tpglibs
|