cuPHY  0.1
CUDA PHY Layer Acceration Library
Data Fields
_cuphyPmW_t Struct Reference

#include <cuphy_api.h>

Data Fields

__half2 matrix [MAX_DL_LAYERS_PER_TB *MAX_DL_PORTS]
 
uint8_t nPorts
 

Detailed Description

Structure to define pre-coding matrix

Field Documentation

◆ matrix

__half2 _cuphyPmW_t::matrix[MAX_DL_LAYERS_PER_TB *MAX_DL_PORTS]

Pre-coding matrix used only if cuphyPdschUePrm_t.enablePrcdBf is true. Layout of the data is such that cuphyPdschUePrm_t.nUeLayers is slower dimension. The cuphyPmW_t.nPorts is the number of columns. Memory layout in expected to be in following manner with row-major layout.

If a transport block has 2 layers and output tensor has 4 ports, the following layout should be used

| | Port 0 | Port 1 | Port 3 | Port 4|

| TB L0 | | | | |
|----—|--------------------------------—

| TB L1 | | | | |

◆ nPorts

uint8_t _cuphyPmW_t::nPorts

number of ports for this UE.