33 #ifndef OUTPUT_STREAMS_CUDA_KERNELS_CUH
34 #define OUTPUT_STREAMS_CUDA_KERNELS_CUH
37 #include <cuda_runtime.h>
47 namespace OutputStreamsCUDAKernels
50 template<TBaseOutputHDF5Stream::TReduceOperator reduceOp>
52 const float* sourceData,
53 const size_t* sensorData,
54 const size_t nSamples);
57 template<TBaseOutputHDF5Stream::TReduceOperator reduceOp>
59 const float* sourceData,
60 const dim3 topLeftCorner,
61 const dim3 bottomRightCorner,
62 const dim3 matrixSize,
63 const size_t nSamples);
66 template<TBaseOutputHDF5Stream::TReduceOperator reduceOp>
68 const float* sourceData,
69 const size_t nSamples);
73 const float scalingCoeff,
74 const size_t nSamples);
The header file of the class saving RealMatrix data into the output HDF5 file.
void SampleIndex(float *samplingBuffer, const float *sourceData, const size_t *sensorData, const size_t nSamples)
Kernel to sample quantities using an index sensor mask.
void PostProcessingRMS(float *samplingBuffer, const float scalingCoeff, const size_t nSamples)
Kernel to calculate post-processing for RMS.
void SampleCuboid(float *samplingBuffer, const float *sourceData, const dim3 topLeftCorner, const dim3 bottomRightCorner, const dim3 matrixSize, const size_t nSamples)
Kernel to sample quantities inside one cuboid.
void SampleAll(float *samplingBuffer, const float *sourceData, const size_t nSamples)
Kernel to sample of the quantity on the whole domain.