X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fhi_lib%2Flib%2Fsrc%2Fxran_bfp_cplane8.cpp;h=676ba4685609a684e0148e726be7051feb00dcac;hb=HEAD;hp=f11abe0173d4c65102a301d7aa7b5ffce178ffd8;hpb=70d9d920dd4e575f085f1f1a9050fefd1c10e127;p=o-du%2Fphy.git diff --git a/fhi_lib/lib/src/xran_bfp_cplane8.cpp b/fhi_lib/lib/src/xran_bfp_cplane8.cpp index f11abe0..676ba46 100644 --- a/fhi_lib/lib/src/xran_bfp_cplane8.cpp +++ b/fhi_lib/lib/src/xran_bfp_cplane8.cpp @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2020 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ #include "xran_compression.hpp" #include "xran_bfp_utils.hpp" +#include "xran_bfp_byte_packing_utils.hpp" #include #include #include @@ -244,7 +245,7 @@ namespace BFP_CPlane_8 inline void compress8_16RB(const BlockFloatCompander::ExpandedData& dataIn, BlockFloatCompander::CompressedData* dataOut, const __m512i totShiftBits) { - const auto exponents = computeExponent_16RB(dataIn, totShiftBits); + const __m512i exponents = computeExponent_16RB(dataIn, totShiftBits); const __m256i* dataInAddr = reinterpret_cast(dataIn.dataExpanded); #pragma unroll(16) for (int n = 0; n < 16; ++n) @@ -257,7 +258,7 @@ namespace BFP_CPlane_8 inline void compress8_4RB(const BlockFloatCompander::ExpandedData& dataIn, BlockFloatCompander::CompressedData* dataOut, const __m512i totShiftBits) { - const auto exponents = computeExponent_4RB(dataIn, totShiftBits); + const __m512i exponents = computeExponent_4RB(dataIn, totShiftBits); const __m256i* dataInAddr = reinterpret_cast(dataIn.dataExpanded); #pragma unroll(4) for (int n = 0; n < 4; ++n)