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

The PGP device of the GPU DRP and the GPU resources tied to it. More...

#include <MemPool.hh>

Public Member Functions

 DetPanel (std::string &device)
 Open device (DataDev aborts on failure) and keep its path as name.
 

Public Attributes

DataDev datadev
 The opened device (/dev/null in simulator mode).
 
void * fpgaRegs
 Host mapping of the GpuAsyncCore FPGA registers; in simulator mode, a zeroed pinned host block of 0x600 words.
 
std::vector< uint8_t * > dmaBuffers
 Device addresses of the DMA write buffers (FPGA to GPU), one per DMA buffer, kept on the host.
 
uint8_t ** dmaBuffers_d
 Device array holding the same DMA buffer addresses.
 
std::string name
 Device path.
 
CoreRegisters coreRegs
 Register object for the GpuAsyncCore registers at fpgaRegs (simulated in simulator mode).
 

Detailed Description

The PGP device of the GPU DRP and the GPU resources tied to it.

Constructor & Destructor Documentation

◆ DetPanel()

Drp::Gpu::DetPanel::DetPanel ( std::string &  device)
inline

Open device (DataDev aborts on failure) and keep its path as name.

Member Data Documentation

◆ coreRegs

CoreRegisters Drp::Gpu::DetPanel::coreRegs

Register object for the GpuAsyncCore registers at fpgaRegs (simulated in simulator mode).

◆ datadev

DataDev Drp::Gpu::DetPanel::datadev

The opened device (/dev/null in simulator mode).

◆ dmaBuffers

std::vector<uint8_t*> Drp::Gpu::DetPanel::dmaBuffers

Device addresses of the DMA write buffers (FPGA to GPU), one per DMA buffer, kept on the host.

◆ dmaBuffers_d

uint8_t** Drp::Gpu::DetPanel::dmaBuffers_d

Device array holding the same DMA buffer addresses.

◆ fpgaRegs

void* Drp::Gpu::DetPanel::fpgaRegs

Host mapping of the GpuAsyncCore FPGA registers; in simulator mode, a zeroed pinned host block of 0x600 words.

◆ name

std::string Drp::Gpu::DetPanel::name

Device path.


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