This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | EMDataForCuda |
A struct for passing EMData objects to and from things like processors. More... | |
struct | CudaPeakInfo |
struct | CudaPeakInfoFloat |
Defines | |
#define | eman__cuda_util_h__ 1 |
Functions | |
int | device_init () |
Initialize the cuda device Can be called any number of times but the actual initialization occurs only the first time. | |
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) |
Variables | |
const char *const | cudalockfile = "/tmp/cuda" |
#define eman__cuda_util_h__ 1 |
Definition at line 3 of file cuda_util.h.
void bind_cuda_array_to_textureA | ( | const cudaArray *const | array, | |
const int | ndims, | |||
const bool | interp_mode | |||
) |
void bind_cuda_array_to_textureB | ( | const cudaArray *const | array, | |
const int | ndims, | |||
const bool | interp_mode | |||
) |
bool copy_to_array | ( | const float * | data, | |
cudaArray * | array, | |||
const int | nx, | |||
const int | ny, | |||
const int | n, | |||
const cudaMemcpyKind | memkindz | |||
) |
int device_init | ( | ) |
Initialize the cuda device Can be called any number of times but the actual initialization occurs only the first time.
cudaArray* get_cuda_array | ( | const int | nx, | |
const int | ny, | |||
const int | nz | |||
) |
float get_edgemean_cuda | ( | const float * | data, | |
const int | nx, | |||
const int | ny, | |||
const int | nz | |||
) |
Referenced by EMAN::EMData::get_edge_mean().
int getCudaDeviceAuto | ( | const int | deviceCount | ) |
int getCudaDeviceManually | ( | const int | deviceCount | ) |
void to_value_cuda | ( | float * | data, | |
const float | value, | |||
const int | nx, | |||
const int | ny, | |||
const int | nz | |||
) |
Referenced by EMAN::EMData::to_value().
void to_zero_cuda | ( | float * | data, | |
const int | nx, | |||
const int | ny, | |||
const int | nz | |||
) |
Referenced by EMAN::FourierReconstructor::clear().
void unbind_cuda_textureA | ( | const int | ndims | ) |
void unbind_cuda_textureB | ( | const int | ndims | ) |
const char* const cudalockfile = "/tmp/cuda" |
Definition at line 6 of file cuda_util.h.