33 #ifndef BACKEND_CUDA_H
34 #define BACKEND_CUDA_H
68 void pack_cuda_int(
int *buffer,
int *data,
int *buffer_idxlist,
int buffer_size,
int offset,
int *transform);
84 void pack_cuda_float(
float *buffer,
float *data,
int *buffer_idxlist,
int buffer_size,
int offset,
int *transform);
100 void pack_cuda_double(
double *buffer,
double *data,
int *buffer_idxlist,
int buffer_size,
int offset,
int *transform);
116 void unpack_cuda_int(
int *buffer,
int *data,
int *buffer_idxlist,
int buffer_size,
int offset,
int *transform);
132 void unpack_cuda_float(
float *buffer,
float *data,
int *buffer_idxlist,
int buffer_size,
int offset,
int *transform);
148 void unpack_cuda_double(
double *buffer,
double *data,
int *buffer_idxlist,
int buffer_size,
int offset,
int *transform);
179 void memcpy_h2d(
int *buffer_cuda,
int *buffer_cpu,
int buffer_size);
void pack_cuda_int(int *buffer, int *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
Packing function for int arrays.
void pack_cuda_double(double *buffer, double *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
Packing function for double arrays.
void deallocator_cuda(void *buffer)
Deallocate array.
void unpack_cuda_int(int *buffer, int *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
Unpacking function for int arrays.
void unpack_cuda_float(float *buffer, float *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
Unpacking function for float arrays.
void pack_cuda_float(float *buffer, float *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
Packing function for float arrays.
void memcpy_h2d(int *buffer_cuda, int *buffer_cpu, int buffer_size)
Copy memory from host to device.
void * allocator_cuda(size_t buffer_size)
Allocate array.
void unpack_cuda_double(double *buffer, double *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
Unpacking function for double arrays.
t_kernels * new_vtable_cuda(MPI_Datatype type)
Create new t_kernels data structure.
Definition: backend_hw.h:48