lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
GpuDmaBuffer_t Struct Reference

Describes FPGA memory that's mapped via RDMA to the GPU. More...

#include <GpuAsyncLib.hh>

Public Attributes

int fd
 File descriptor of the FPGA device.
 
uint8_t * ptr
 Host-accessible address of the memory; set by gpuMapHostFpgaMem() and left null by gpuMapFpgaMem().
 
size_t size
 Host accessible pointer.
 
CUdeviceptr dptr
 Size of the block.
 
int gpuOnly
 Pointer on the device.
 

Detailed Description

Describes FPGA memory that's mapped via RDMA to the GPU.

The below functions wrap the creation and destruction process of the memory.

Member Data Documentation

◆ dptr

CUdeviceptr GpuDmaBuffer_t::dptr

Size of the block.

◆ fd

int GpuDmaBuffer_t::fd

File descriptor of the FPGA device.

◆ gpuOnly

int GpuDmaBuffer_t::gpuOnly

Pointer on the device.

◆ ptr

uint8_t* GpuDmaBuffer_t::ptr

Host-accessible address of the memory; set by gpuMapHostFpgaMem() and left null by gpuMapFpgaMem().

◆ size

size_t GpuDmaBuffer_t::size

Host accessible pointer.


The documentation for this struct was generated from the following file: