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

RingIndexDtoD, a ring of buffer indices filled and drained on the GPU. More...

#include <cassert>
#include <cuda_runtime.h>
#include <cuda/atomic>
#include <cuda/std/atomic>

Classes

class  Drp::Gpu::RingIndexDtoD
 Lock-free ring of buffer indices with a device producer (push()) and a device consumer (pop()). More...
 

Namespaces

namespace  Drp
 This class services detectors whose event data is formatted from the AxiStreamBatcherEventBuilder firmware module This class depends upon the existence of a python module "psdaq.configdb.<detType>_config.py", which contains the following functions: <detType>_init (str) - returns a handle (PyObject) for interacting with the device configuration <detType>_connect (handle) - returns a dictionary with "paddr" element for Xpm link ID.
 
namespace  Drp::Gpu
 Namespace of the GPU DRP code (psdaq/drpGpu); only Gpu::Detector is forward-declared here.
 

Detailed Description

RingIndexDtoD, a ring of buffer indices filled and drained on the GPU.