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

RingIndexHtoD, a ring of buffer indices filled by the host and drained by the GPU. More...

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

Classes

class  Drp::Gpu::RingIndexHtoD
 Lock-free ring of buffer indices with one host producer (push()) and one 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

RingIndexHtoD, a ring of buffer indices filled by the host and drained by the GPU.