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

Drp::Gpu::FileWriter and FileWriterAsync, which write event data held in GPU memory to files with NVIDIA cuFile. More...

#include <cstddef>
#include <cstdint>
#include <string>
#include <cuda_runtime.h>
#include "cufile.h"
#include "drp/FileWriterBase.hh"

Classes

class  Drp::Gpu::FileWriter
 Writes event data that is already in GPU memory to a file with NVIDIA cuFile. More...
 
class  Drp::Gpu::FileWriterAsync
 FileWriter that splits its GPU buffer into two halves: a filled half is written with cuFileWriteAsync on the registered stream while events are copied into the other half. 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

Drp::Gpu::FileWriter and FileWriterAsync, which write event data held in GPU memory to files with NVIDIA cuFile.