Go to the source code of this file.
|
int | device_init () |
| Initialize the cuda device Can be called any number of times but the actual initialization occurs only the first time. More...
|
|
int | getCudaDeviceManually (const int deviceCount) |
|
int | getCudaDeviceAuto (const int deviceCount) |
|
bool | copy_to_array (const float *data, cudaArray *array, const int nx, const int ny, const int n, const cudaMemcpyKind memkindz) |
|
cudaArray * | get_cuda_array (const int nx, const int ny, const int nz) |
|
void | bind_cuda_array_to_textureA (const cudaArray *const array, const int ndims, const bool interp_mode) |
|
void | unbind_cuda_textureA (const int ndims) |
|
void | bind_cuda_array_to_textureB (const cudaArray *const array, const int ndims, const bool interp_mode) |
|
void | unbind_cuda_textureB (const int ndims) |
|
float | get_edgemean_cuda (const float *data, const int nx, const int ny, const int nz) |
|
void | to_value_cuda (float *data, const float value, const int nx, const int ny, const int nz) |
|
void | to_zero_cuda (float *data, const int nx, const int ny, const int nz) |
|
◆ bind_cuda_array_to_textureA()
void bind_cuda_array_to_textureA |
( |
const cudaArray *const |
array, |
|
|
const int |
ndims, |
|
|
const bool |
interp_mode |
|
) |
| |
◆ bind_cuda_array_to_textureB()
void bind_cuda_array_to_textureB |
( |
const cudaArray *const |
array, |
|
|
const int |
ndims, |
|
|
const bool |
interp_mode |
|
) |
| |
◆ copy_to_array()
bool copy_to_array |
( |
const float * |
data, |
|
|
cudaArray * |
array, |
|
|
const int |
nx, |
|
|
const int |
ny, |
|
|
const int |
n, |
|
|
const cudaMemcpyKind |
memkindz |
|
) |
| |
◆ device_init()
Initialize the cuda device Can be called any number of times but the actual initialization occurs only the first time.
◆ get_cuda_array()
cudaArray * get_cuda_array |
( |
const int |
nx, |
|
|
const int |
ny, |
|
|
const int |
nz |
|
) |
| |
◆ get_edgemean_cuda()
float get_edgemean_cuda |
( |
const float * |
data, |
|
|
const int |
nx, |
|
|
const int |
ny, |
|
|
const int |
nz |
|
) |
| |
◆ getCudaDeviceAuto()
int getCudaDeviceAuto |
( |
const int |
deviceCount | ) |
|
◆ getCudaDeviceManually()
int getCudaDeviceManually |
( |
const int |
deviceCount | ) |
|
◆ to_value_cuda()
void to_value_cuda |
( |
float * |
data, |
|
|
const float |
value, |
|
|
const int |
nx, |
|
|
const int |
ny, |
|
|
const int |
nz |
|
) |
| |
◆ to_zero_cuda()
void to_zero_cuda |
( |
float * |
data, |
|
|
const int |
nx, |
|
|
const int |
ny, |
|
|
const int |
nz |
|
) |
| |
◆ unbind_cuda_textureA()
void unbind_cuda_textureA |
( |
const int |
ndims | ) |
|
◆ unbind_cuda_textureB()
void unbind_cuda_textureB |
( |
const int |
ndims | ) |
|
◆ cudalockfile
const char* const cudalockfile ="/tmp/cuda" |