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

RingQueueHtoD, a ring of values of type T 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::RingQueueHtoD< T >
 Lock-free ring of values of type T with one producer on the host (push()) and one consumer on the GPU (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

RingQueueHtoD, a ring of values of type T filled by the host and drained by the GPU.