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 14 : REGISTER_AVXPROCESSOR_CREATOR("AVXAbsRunSumProcessor", AVXAbsRunSumProcessor)
14 :
15 : __m256i
16 6 : AVXAbsRunSumProcessor::process(const __m256i& signal)
17 : {
18 6 : return AVXRunSumProcessor::process(_mm256_abs_epi16(signal));
19 : }
20 :
21 : } // namespace tpglibs
|