This section describes the PDSCH (Physical DOwnlink Shared Channel) DMRS functions of the cuPHY application programming interface.
More...
|
| struct | PdschDmrsParams |
| | Struct that tracks all necessary parameters for PDSCH DMRS computation. This struct is also used in PDSCH modulation. There is one PdschDmrsParams struct per TB. More...
|
| |
| struct | PdschUeGrpParams |
| | Struct that tracks parameters needed for rate-matching/modulation when CSI-RS parameters are present. More...
|
| |
|
| cuphyStatus_t | cuphyPdschDmrsGetDescrInfo (size_t *pDescrSizeBytes, size_t *pDescrAlignBytes) |
| | : Compute descriptor size and alignment for PDSCH DMRS. More...
|
| |
| cuphyStatus_t | cuphySetupPdschDmrs (cuphyPdschDmrsLaunchConfig_t pdschDmrsLaunchConfig, PdschDmrsParams *dmrs_params, int num_TBs, uint8_t enable_precoding, cuphyTensorDescriptor_t dmrs_output_desc, void *dmrs_output_addr, void *cpu_desc, void *gpu_desc, uint8_t enable_desc_async_copy, cudaStream_t strm) |
| | : Setup PDSCH DMRS component. More...
|
| |
◆ cuphyPdschDmrsGetDescrInfo()
| cuphyStatus_t cuphyPdschDmrsGetDescrInfo |
( |
size_t * |
pDescrSizeBytes, |
|
|
size_t * |
pDescrAlignBytes |
|
) |
| |
- Parameters
-
| [in,out] | pDescrSizeBytes | Size in bytes of descriptor |
| [in,out] | pDescrAlignBytes | Alignment in bytes of descriptor |
- Returns
- CUPHY_STATUS_SUCCESS or CUPHY_STATUS_INVALID_ARGUMENT
◆ cuphySetupPdschDmrs()
| cuphyStatus_t cuphySetupPdschDmrs |
( |
cuphyPdschDmrsLaunchConfig_t |
pdschDmrsLaunchConfig, |
|
|
PdschDmrsParams * |
dmrs_params, |
|
|
int |
num_TBs, |
|
|
uint8_t |
enable_precoding, |
|
|
cuphyTensorDescriptor_t |
dmrs_output_desc, |
|
|
void * |
dmrs_output_addr, |
|
|
void * |
cpu_desc, |
|
|
void * |
gpu_desc, |
|
|
uint8_t |
enable_desc_async_copy, |
|
|
cudaStream_t |
strm |
|
) |
| |
- Parameters
-
| [in] | pdschDmrsLaunchConfig | Pointer to DMRS launch config. |
| [in] | dmrs_params | DMRS config. parameters struct array on the device, with # TBs entries. |
| [in] | num_TBs | number of TBs. |
| [in] | enable_precoding | Enabling pre-coding. Set to true if this batch has any UE with pre-coding enabled. |
| [in] | dmrs_output_desc | output tensor descriptor; dimensions {273*12, 14, 16} tensor. |
| [in] | dmrs_output_addr | pointer to output tensor data; each element is a complex number (half-precision). |
| [in] | cpu_desc | Pointer to descriptor in CPU memory |
| [in] | gpu_desc | Pointer to descriptor in GPU memory |
| [in] | enable_desc_async_copy | async copy CPU descriptor into GPU if set. |
| [in] | strm | CUDA stream for async copy |
- Returns
- CUPHY_STATUS_SUCCESS or CUPHY_STATUS_INVALID_ARGUMENT or CUPHY_STATUS_MEMCPY_ERROR or CUPHY_STATUS_INTERNAL_ERROR