12 #ifndef _CUDA_DYNAMIC_LOADING_CUDART_TYPES_H_
13 #define _CUDA_DYNAMIC_LOADING_CUDART_TYPES_H_
20 #include <cuda_runtime_api.h>
42 size_t count, cudaMemcpyKind kind);
44 typedef void** (*__cudaRegisterFatBinary_type)(
void *fatCubin);
void(* __cudaRegisterFatBinaryEnd_type)(void **fatCubinHandle)
cudaError_t(* cudaGetDeviceCount_type)(int *count)
cudaError_t(* cudaEventSynchronize_type)(cudaEvent_t event)
cudaError_t(* cudaGetDevice_type)(int *device)
cudaError_t(* cudaSetDevice_type)(int device)
cudaError_t(* cudaEventRecord_type)(cudaEvent_t event, cudaStream_t stream)
cudaError_t(* cudaFree_type)(void *devPtr)
cudaError_t(* cudaGetDeviceProperties_type)(cudaDeviceProp *prop, int device)
void(* __cudaUnregisterFatBinary_type)(void **fatCubinHandle)
cudaError_t(* cudaEventDestroy_type)(cudaEvent_t event)
cudaError_t(* cudaEventCreate_type)(cudaEvent_t *event)
cudaError_t(* cudaMemcpy_type)(void *dst, const void *src, size_t count, cudaMemcpyKind kind)
cudaError_t(* cudaMalloc_type)(void **devPtr, size_t size)
cudaError_t(* cudaEventElapsedTime_type)(float *ms, cudaEvent_t start, cudaEvent_t end)