DistDir
Functions
backend_cuda.h File Reference
#include "mpi.h"
#include "src/core/exchange/backend_hardware/backend_hw.h"

Go to the source code of this file.

Functions

t_kernelsnew_vtable_cuda (MPI_Datatype type)
 Create new t_kernels data structure. More...
 
void pack_cuda_int (int *buffer, int *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
 Packing function for int arrays. More...
 
void pack_cuda_float (float *buffer, float *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
 Packing function for float arrays. More...
 
void pack_cuda_double (double *buffer, double *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
 Packing function for double arrays. More...
 
void unpack_cuda_int (int *buffer, int *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
 Unpacking function for int arrays. More...
 
void unpack_cuda_float (float *buffer, float *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
 Unpacking function for float arrays. More...
 
void unpack_cuda_double (double *buffer, double *data, int *buffer_idxlist, int buffer_size, int offset, int *transform)
 Unpacking function for double arrays. More...
 
void * allocator_cuda (size_t buffer_size)
 Allocate array. More...
 
void deallocator_cuda (void *buffer)
 Deallocate array. More...
 
void memcpy_h2d (int *buffer_cuda, int *buffer_cpu, int buffer_size)
 Copy memory from host to device. More...