Agora  1.2.0
Agora project
cyclic_shift.h
Go to the documentation of this file.
1 
5 #ifndef CYCLIC_SHIFT_H_
6 #define CYCLIC_SHIFT_H_
7 
8 #include <immintrin.h>
9 
10 #include <stdexcept>
11 
12 namespace avx2enc {
13 inline __m256i CycleBitShift2to64(__m256i data, int16_t cyc_shift, int16_t zc);
14 inline __m256i CycleBitShift72to128(__m256i data, int16_t cyc_shift,
15  int16_t zc);
16 inline __m256i CycleBitShift144to256(__m256i data, int16_t cyc_shift,
17  int16_t zc);
18 
19 using CYCLIC_BIT_SHIFT = __m256i (*)(__m256i, int16_t, int16_t);
21 } // namespace avx2enc
22 
23 #endif // CYCLIC_SHIFT_H_
kPrintDownlinkInformationBytes
static constexpr bool kPrintDownlinkInformationBytes
Definition: data_generator_main.cc:19
version_config.h
Agora project version configuration file.
avx2enc
Definition: cyclic_shift.cc:10
DataGenerator::Profile::kProfile123
@ kProfile123
GetAgoraProjectVersion
const std::string & GetAgoraProjectVersion()
Definition: version_config.h:10
AGORA_LOG_INIT
#define AGORA_LOG_INIT()
Definition: logger.h:35
avx2enc::CycleBitShift144to256
__m256i CycleBitShift144to256(__m256i data, int16_t cyc_shift, int16_t zc)
Definition: cyclic_shift.cc:101
avx2enc::CycleBitShift72to128
__m256i CycleBitShift72to128(__m256i data, int16_t cyc_shift, int16_t zc)
Definition: cyclic_shift.cc:36
TOSTRING
#define TOSTRING(x)
Definition: symbols.h:14
x2
x2
Definition: simulate_performance.m:31
data_generator.h
Implementation file for the Data generator class to generate binary files as inputs to Agora,...
DataGenerator::Profile::kRandom
@ kRandom
main
int main(int argc, char *argv[])
Definition: data_generator_main.cc:28
i
for i
Definition: generate_data.m:107
DataGenerator::Profile
Profile
Definition: data_generator.h:24
ofdmtxrx.x0
x0
Definition: ofdmtxrx.py:399
extract_version.data
dictionary data
Definition: extract_version.py:8
avx2enc::CYCLIC_BIT_SHIFT
__m256i(*)(__m256i, int16_t, int16_t) CYCLIC_BIT_SHIFT
Definition: cyclic_shift.h:19
kVerbose
static constexpr bool kVerbose
Definition: data_generator_main.cc:17
avx2enc::CycleBitShift2to64
__m256i CycleBitShift2to64(__m256i data, int16_t cyc_shift, int16_t zc)
Definition: cyclic_shift.cc:11
AGORA_LOG_INFO
#define AGORA_LOG_INFO(...)
Definition: logger.h:62
avx2enc::LdpcSelectShiftFunc
CYCLIC_BIT_SHIFT LdpcSelectShiftFunc(int16_t zcSize)
Definition: cyclic_shift.cc:166
AGORA_LOG_SHUTDOWN
#define AGORA_LOG_SHUTDOWN()
Definition: logger.h:36
config.h
Declaration file for the configuration class which importants json configuration values into class va...
x1
end BigStation x1
Definition: simulate_performance.m:30
cyclic_shift.h
Declaration for for the avx2enc cyclic shift functions.
DEFINE_string
DEFINE_string(profile, "random", "The profile of the input user bytes (e.g., 'random', '123')")
kPrintUplinkInformationBytes
static constexpr bool kPrintUplinkInformationBytes
Definition: data_generator_main.cc:18