kspaceFirstOrder3D-CUDA  1.1
The CUDA/C++ implementation of the k-wave toolbox for the time-domain simulation of acoustic wave fields in 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OutputStreamsCUDAKernels.cuh File Reference

The header file of cuda kernels used for data sampling (output streams). More...

#include <cuda.h>
#include <cuda_runtime.h>
#include <OutputHDF5Streams/BaseOutputHDF5Stream.h>
Include dependency graph for OutputStreamsCUDAKernels.cuh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 OutputStreamsCUDAKernels
 List of cuda kernels used for sampling data.
 

Functions

template<TBaseOutputHDF5Stream::TReduceOperator reduceOp>
void OutputStreamsCUDAKernels::SampleIndex (float *samplingBuffer, const float *sourceData, const size_t *sensorData, const size_t nSamples)
 Kernel to sample quantities using an index sensor mask. More...
 
template<TBaseOutputHDF5Stream::TReduceOperator reduceOp>
void OutputStreamsCUDAKernels::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. More...
 
template<TBaseOutputHDF5Stream::TReduceOperator reduceOp>
void OutputStreamsCUDAKernels::SampleAll (float *samplingBuffer, const float *sourceData, const size_t nSamples)
 Kernel to sample of the quantity on the whole domain. More...
 
void OutputStreamsCUDAKernels::PostProcessingRMS (float *samplingBuffer, const float scalingCoeff, const size_t nSamples)
 Kernel to calculate post-processing for RMS. More...
 

Detailed Description

Author
Jiri Jaros
Faculty of Information Technology
Brno University of Technology
jaros.nosp@m.jir@.nosp@m.fit.v.nosp@m.utbr.nosp@m..cz
Version
kspaceFirstOrder3D 3.4
Date
27 January 2015, 16:25 (created)
29 July 2016, 14:19 (revised)

License

This file is part of the C++ extension of the k-Wave Toolbox (http://www.k-wave.org).
Copyright (C) 2016 Jiri Jaros and Bradley Treeby.

This file is part of the k-Wave. k-Wave is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

k-Wave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with k-Wave. If not, see http://www.gnu.org/licenses/.

Definition in file OutputStreamsCUDAKernels.cuh.