The header file with CUDA utility functions. These routines are to be inlined.
More...
|
__device__ unsigned int | GetIndex () |
| Get global 1D coordinate for 1D CUDA block. More...
|
|
__device__ unsigned int | GetStride () |
| Get x-stride for 3D CUDA block (for processing multiple grid points by a single thread). More...
|
|
__device__ dim3 | GetReal3DCoords (const unsigned int i) |
| Get 3D coordinates for a real matrix form a 1D index. More...
|
|
__device__ dim3 | GetComplex3DCoords (const unsigned int i) |
| Get a 3D coordinates for a complex matrix form a 1D index. More...
|
|
__device__ float2 | operator* (const float2 a, const float2 b) |
| Operator * for float2 datatype (per element multiplication). More...
|
|
__device__ float2 | operator* (const float2 a, const float b) |
| Operator * for float2 datatype (per element multiplication). More...
|
|
__device__ float2 | operator* (const float b, const float2 a) |
| Operator * for float2 datatype (per element multiplication). More...
|
|
__device__ void | operator*= (float2 &a, const float2 b) |
| Operator *= for float2 datatype (per element multiplication). More...
|
|
__device__ void | operator*= (float2 &a, const float b) |
| Operator *= for float2 datatype (per element multiplication). More...
|
|
__device__ float2 | operator+ (const float2 a, const float2 b) |
| Operator + for float2 datatype (per element multiplication). More...
|
|
__device__ float2 | operator+ (const float2 a, const float b) |
| Operator + for float2 datatype (per element multiplication) More...
|
|
__device__ float2 | operator+ (const float b, const float2 a) |
| Operator + for float2 datatype (per element multiplication). More...
|
|
__device__ void | operator+= (float2 &a, const float2 b) |
| Operator += for float2 datatype (per element multiplication). More...
|
|
__device__ void | operator+= (float2 &a, const float b) |
| Operator += for float2 datatype (per element multiplication). More...
|
|
- 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
- 22 March 2016, 15:25 (created)
25 July 2016, 10:56 (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 CUDAUtils.cuh.