|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
ReducerAlgo, the interface of the GPU data reduction plugins, and ReducerTuple. More...
#include "Detector.hh"#include "drp/drp.hh"#include "xtcdata/xtc/ShapesData.hh"#include "xtcdata/xtc/NamesLookup.hh"#include <nlohmann/json.hpp>#include <cuda_runtime.h>Classes | |
| struct | Drp::Gpu::ReducerTuple |
| Result of reducing one buffer, passed from the reducer back to the recorder. More... | |
| class | Drp::Gpu::ReducerAlgo |
| Base of the GPU data reduction algorithms. More... | |
Namespaces | |
| namespace | XtcData |
| Namespace of the XTC data-format classes (Xtc, Dgram, TypeId, Src, NamesId, ShapesData, DescData, iterators, ...). | |
| 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. | |
Typedefs | |
| typedef Drp::Gpu::ReducerAlgo * | reducerAlgoFactoryFn_t(const Drp::Parameters &, const Drp::Gpu::MemPoolGpu &, Drp::Gpu::Detector &) |
| Type of createReducer(), the factory function that each reducer library exports with C linkage. | |
Functions | |
| Drp::Gpu::ReducerAlgo * | createReducer (const Drp::Parameters &, const Drp::Gpu::MemPoolGpu &, Drp::Gpu::Detector &) |
| Factory function defined by each reducer library: return a new instance of its ReducerAlgo. | |
ReducerAlgo, the interface of the GPU data reduction plugins, and ReducerTuple.
Safe to include in CPU code (per the file comment).
| typedef Drp::Gpu::ReducerAlgo * reducerAlgoFactoryFn_t(const Drp::Parameters &, const Drp::Gpu::MemPoolGpu &, Drp::Gpu::Detector &) |
Type of createReducer(), the factory function that each reducer library exports with C linkage.
| Drp::Gpu::ReducerAlgo * createReducer | ( | const Drp::Parameters & | , |
| const Drp::Gpu::MemPoolGpu & | , | ||
| Drp::Gpu::Detector & | |||
| ) |
Factory function defined by each reducer library: return a new instance of its ReducerAlgo.