X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fhi_lib%2Flib%2Fsrc%2Fxran_bfp_cplane32.cpp;h=a110791b8b4c9583a7849c7a35eccea30e761fa9;hb=HEAD;hp=e091620c2b5c951fcb6c5244989bf178eb2f42bc;hpb=70d9d920dd4e575f085f1f1a9050fefd1c10e127;p=o-du%2Fphy.git diff --git a/fhi_lib/lib/src/xran_bfp_cplane32.cpp b/fhi_lib/lib/src/xran_bfp_cplane32.cpp index e091620..a110791 100644 --- a/fhi_lib/lib/src/xran_bfp_cplane32.cpp +++ b/fhi_lib/lib/src/xran_bfp_cplane32.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 @@ -208,7 +209,7 @@ namespace BFP_CPlane_32 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 __m512i* dataInAddr = reinterpret_cast(dataIn.dataExpanded); #pragma unroll(16) for (int n = 0; n < 16; ++n) @@ -221,7 +222,7 @@ namespace BFP_CPlane_32 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 __m512i* dataInAddr = reinterpret_cast(dataIn.dataExpanded); #pragma unroll(4) for (int n = 0; n < 4; ++n)