Agora  1.2.0
Agora project
test_ldpc.cc File Reference

Accuracy and performance test for LDPC. The encoder is Agora's avx2enc - unlike FlexRAN's encoder, avx2enc works with AVX2 (i.e., unlike FlexRAN's encoder, avx2enc does not require AVX-512). The decoder is FlexRAN's decoder, which supports AVX2. More...

#include <algorithm>
#include <bitset>
#include <fstream>
#include <vector>
#include "encoder.h"
#include "gettime.h"
#include "memory_manage.h"
#include "phy_ldpc_decoder_5gnr.h"
#include "symbols.h"
#include "utils_ldpc.h"
Include dependency graph for test_ldpc.cc:

Functions

int main ()
 

Variables

static constexpr size_t kNumCodeBlocks = 2
 
static constexpr size_t kBaseGraph = 1
 
static constexpr bool kEnableEarlyTermination = false
 
static constexpr size_t kNumFillerBits = 0
 
static constexpr size_t kMaxDecoderIters = 8
 
static constexpr size_t kK5GnrNumPunctured = 2
 
static constexpr size_t kNumRows = 46
 

Detailed Description

Accuracy and performance test for LDPC. The encoder is Agora's avx2enc - unlike FlexRAN's encoder, avx2enc works with AVX2 (i.e., unlike FlexRAN's encoder, avx2enc does not require AVX-512). The decoder is FlexRAN's decoder, which supports AVX2.

Function Documentation

◆ main()

int main ( )
Here is the call graph for this function:

Variable Documentation

◆ kBaseGraph

constexpr size_t kBaseGraph = 1
staticconstexpr

◆ kEnableEarlyTermination

constexpr bool kEnableEarlyTermination = false
staticconstexpr

◆ kK5GnrNumPunctured

constexpr size_t kK5GnrNumPunctured = 2
staticconstexpr

◆ kMaxDecoderIters

constexpr size_t kMaxDecoderIters = 8
staticconstexpr

◆ kNumCodeBlocks

constexpr size_t kNumCodeBlocks = 2
staticconstexpr

◆ kNumFillerBits

constexpr size_t kNumFillerBits = 0
staticconstexpr

◆ kNumRows

constexpr size_t kNumRows = 46
staticconstexpr