Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

cuda_util.h File Reference

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...

Defines

#define eman__cuda_util_h__   1

Functions

void device_init ()
 Initialize the cuda device Can be called any number of times but the actual initialization occurs only the first time.
int * calc_max_location_wrap_cuda (const EMDataForCuda *data, const int maxdx, const int maxdy, const int maxdz)
void cut_slice_cuda_ (const EMDataForCuda *data, const float *const)
cudaArray * get_cuda_array_host (const float *const data, const int nx, const int ny, const int nz)
cudaArray * get_cuda_array_device (const float *const data, const int nx, const int ny, const int nz)
void bind_cuda_array_to_texture (const cudaArray *const array, const int ndims, const bool interp_mode)
void unbind_cuda_texture (const int ndims)
void emdata_column_sum (const EMDataForCuda *sum_target, const int ny)


Define Documentation

#define eman__cuda_util_h__   1
 

Definition at line 3 of file cuda_util.h.


Function Documentation

void bind_cuda_array_to_texture const cudaArray *const   array,
const int  ndims,
const bool  interp_mode
 

int* calc_max_location_wrap_cuda const EMDataForCuda data,
const int  maxdx,
const int  maxdy,
const int  maxdz
 

Referenced by EMAN::TranslationalAligner::align().

void cut_slice_cuda_ const EMDataForCuda data,
const float *  const
 

void device_init  ) 
 

Initialize the cuda device Can be called any number of times but the actual initialization occurs only the first time.

void emdata_column_sum const EMDataForCuda sum_target,
const int  ny
 

cudaArray* get_cuda_array_device const float *const   data,
const int  nx,
const int  ny,
const int  nz
 

cudaArray* get_cuda_array_host const float *const   data,
const int  nx,
const int  ny,
const int  nz
 

void unbind_cuda_texture const int  ndims  ) 
 

Referenced by EMAN::EMData::unwrap().


Generated on Fri Apr 30 15:38:59 2010 for EMAN2 by  doxygen 1.3.9.1