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

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

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

Classes

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

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