Astaroth  3.1
Scalable Multi-GPU Stencil Computations
Loading...
Searching...
No Matches
astaroth_cuda_wrappers.h File Reference
Include dependency graph for astaroth_cuda_wrappers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

cudaError_t acDeviceGetPCIBusId (char *pciBusId, int len, int device)
cudaError_t acDeviceGetStreamPriorityRange (int *leastPriority, int *greatestPriority)
cudaError_t acDeviceSynchronize ()
cudaError_t acDriverGetVersion (int *dst)
cudaError_t acEventCreate (cudaEvent_t *event)
cudaError_t acEventDestroy (cudaEvent_t event)
cudaError_t acEventElapsedTime (float *time, cudaEvent_t start_event, cudaEvent_t end_event)
cudaError_t acEventRecord (cudaEvent_t event)
cudaError_t acEventSynchronize (cudaEvent_t event)
cudaError_t acFree (void *dst)
cudaError_t acFreeHost (void *dst)
cudaError_t acGetDevice (int *dst)
cudaError_t acGetDeviceCount (int *dst)
const char * acGetErrorName (cudaError_t err)
const char * acGetErrorString (cudaError_t err)
cudaError_t acGetLastError ()
cudaError_t acLaunchCooperativeKernel (void *func, dim3 bpg, dim3 tpb, void **args, size_t smem, cudaStream_t stream)
cudaError_t acMalloc (void **dst, const size_t bytes)
cudaError_t acMallocHost (void **dst, const size_t bytes)
cudaError_t acMemcpyPeerAsync (AcReal *dst, int dst_id, const AcReal *src, int src_id, const size_t bytes, const cudaStream_t stream)
cudaError_t acMemGetInfo (size_t *free_mem, size_t *total_mem)
cudaError_t acOccupancyMaxActiveBlocksPerMultiprocessor (int *numBlocks, const void *func, int blockSize, size_t smemSize)
cudaError_t acPeekAtLastError ()
cudaError_t acRuntimeGetVersion (int *dst)
cudaError_t acSetDevice (const int id)
cudaError_t acStreamCreateWithPriority (cudaStream_t *stream, unsigned int flags, int priority)
cudaError_t acStreamDestroy (cudaStream_t stream)
cudaError_t acStreamQuery (cudaStream_t stream)
cudaError_t acStreamSynchronize (cudaStream_t stream)

Function Documentation

◆ acDeviceGetPCIBusId()

cudaError_t acDeviceGetPCIBusId ( char * pciBusId,
int len,
int device )

◆ acDeviceGetStreamPriorityRange()

cudaError_t acDeviceGetStreamPriorityRange ( int * leastPriority,
int * greatestPriority )

◆ acDeviceSynchronize()

cudaError_t acDeviceSynchronize ( )

◆ acDriverGetVersion()

cudaError_t acDriverGetVersion ( int * dst)

◆ acEventCreate()

cudaError_t acEventCreate ( cudaEvent_t * event)

◆ acEventDestroy()

cudaError_t acEventDestroy ( cudaEvent_t event)

◆ acEventElapsedTime()

cudaError_t acEventElapsedTime ( float * time,
cudaEvent_t start_event,
cudaEvent_t end_event )

◆ acEventRecord()

cudaError_t acEventRecord ( cudaEvent_t event)

◆ acEventSynchronize()

cudaError_t acEventSynchronize ( cudaEvent_t event)

◆ acFree()

cudaError_t acFree ( void * dst)

◆ acFreeHost()

cudaError_t acFreeHost ( void * dst)

◆ acGetDevice()

cudaError_t acGetDevice ( int * dst)

◆ acGetDeviceCount()

cudaError_t acGetDeviceCount ( int * dst)

◆ acGetErrorName()

const char * acGetErrorName ( cudaError_t err)

◆ acGetErrorString()

const char * acGetErrorString ( cudaError_t err)

◆ acGetLastError()

cudaError_t acGetLastError ( )

◆ acLaunchCooperativeKernel()

cudaError_t acLaunchCooperativeKernel ( void * func,
dim3 bpg,
dim3 tpb,
void ** args,
size_t smem,
cudaStream_t stream )

◆ acMalloc()

cudaError_t acMalloc ( void ** dst,
const size_t bytes )

◆ acMallocHost()

cudaError_t acMallocHost ( void ** dst,
const size_t bytes )

◆ acMemcpyPeerAsync()

cudaError_t acMemcpyPeerAsync ( AcReal * dst,
int dst_id,
const AcReal * src,
int src_id,
const size_t bytes,
const cudaStream_t stream )

◆ acMemGetInfo()

cudaError_t acMemGetInfo ( size_t * free_mem,
size_t * total_mem )

◆ acOccupancyMaxActiveBlocksPerMultiprocessor()

cudaError_t acOccupancyMaxActiveBlocksPerMultiprocessor ( int * numBlocks,
const void * func,
int blockSize,
size_t smemSize )

◆ acPeekAtLastError()

cudaError_t acPeekAtLastError ( )

◆ acRuntimeGetVersion()

cudaError_t acRuntimeGetVersion ( int * dst)

◆ acSetDevice()

cudaError_t acSetDevice ( const int id)

◆ acStreamCreateWithPriority()

cudaError_t acStreamCreateWithPriority ( cudaStream_t * stream,
unsigned int flags,
int priority )

◆ acStreamDestroy()

cudaError_t acStreamDestroy ( cudaStream_t stream)

◆ acStreamQuery()

cudaError_t acStreamQuery ( cudaStream_t stream)

◆ acStreamSynchronize()

cudaError_t acStreamSynchronize ( cudaStream_t stream)