imate
C++/CUDA Reference
|
#include "./cudart_symbols.h"
#include <cuda_runtime_api.h>
#include <cstdlib>
#include <sstream>
#include "./dynamic_loading.h"
Go to the source code of this file.
Functions | |
cudaError_t | cudaEventCreate (cudaEvent_t *event) |
Definition of CUDA's cudaEventCreate function using dynamically loaded cudart library. More... | |
cudaError_t | cudaEventDestroy (cudaEvent_t event) |
Definition of CUDA's cudaEventDestroy function using dynamically loaded cudart library. More... | |
cudaError_t | cudaEventElapsedTime (float *ms, cudaEvent_t start, cudaEvent_t end) |
Definition of CUDA's cudaEventElapsedTime function using dynamically loaded cudart library. More... | |
cudaError_t | cudaEventRecord (cudaEvent_t event, cudaStream_t stream) |
Definition of CUDA's cudaEventRecord function using dynamically loaded cudart library. More... | |
cudaError_t | cudaEventSynchronize (cudaEvent_t event) |
Definition of CUDA's cudaEventSynchronize function using dynamically loaded cudart library. More... | |
cudaError_t | cudaGetDevice (int *device) |
Definition of CUDA's cudaGetDevice function using dynamically loaded cudart library. More... | |
cudaError_t | cudaGetDeviceCount (int *count) |
Definition of CUDA's cudaGetDeviceCount function using dynamically loaded cudart library. More... | |
cudaError_t | cudaGetDeviceProperties (cudaDeviceProp *prop, int device) |
Definition of CUDA's cudaGetDeviceProperties function using dynamically loaded cudart library. More... | |
cudaError_t | cudaFree (void *devPtr) |
Definition of CUDA's cudaFree function using dynamically loaded cudart library. More... | |
cudaError_t | cudaMalloc (void **devPtr, size_t size) |
Definition of CUDA's cudaMalloc function using dynamically loaded cudart library. More... | |
cudaError_t | cudaMemcpy (void *dst, const void *src, size_t count, cudaMemcpyKind kind) |
Definition of CUDA's cudaMemcpy function using dynamically loaded cudart library. More... | |
cudaError_t | cudaSetDevice (int device) |
Definition of CUDA's cudaSetDevice function using dynamically loaded cudart library. More... | |
void ** | __cudaRegisterFatBinary (void *fatCubin) |
Definition of CUDA's __cudaRegisterFatBinary function using dynamically loaded cudart library. More... | |
void | __cudaRegisterFatBinaryEnd (void **fatCubinHandle) |
Definition of CUDA's __cudaRegisterFatBinaryEnd function using dynamically loaded cudart library. More... | |
void | __cudaUnregisterFatBinary (void **fatCubinHandle) |
Definition of CUDA's __cudaUnregisterFatBinary function using dynamically loaded cudart library. More... | |
void** __cudaRegisterFatBinary | ( | void * | fatCubin | ) |
Definition of CUDA's __cudaRegisterFatBinary
function using dynamically loaded cudart library.
Definition at line 402 of file cudart_symbols.cpp.
References cudartSymbols::__cudaRegisterFatBinary, and cudartSymbols::get_lib_name().
void __cudaRegisterFatBinaryEnd | ( | void ** | fatCubinHandle | ) |
Definition of CUDA's __cudaRegisterFatBinaryEnd
function using dynamically loaded cudart library.
Definition at line 426 of file cudart_symbols.cpp.
References cudartSymbols::__cudaRegisterFatBinaryEnd, and cudartSymbols::get_lib_name().
void __cudaUnregisterFatBinary | ( | void ** | fatCubinHandle | ) |
Definition of CUDA's __cudaUnregisterFatBinary
function using dynamically loaded cudart library.
Definition at line 450 of file cudart_symbols.cpp.
References cudartSymbols::__cudaUnregisterFatBinary, and cudartSymbols::get_lib_name().
cudaError_t cudaEventCreate | ( | cudaEvent_t * | event | ) |
Definition of CUDA's cudaEventCreate
function using dynamically loaded cudart library.
Definition at line 106 of file cudart_symbols.cpp.
References cudartSymbols::cudaEventCreate, and cudartSymbols::get_lib_name().
Referenced by CudaTimer::CudaTimer().
cudaError_t cudaEventDestroy | ( | cudaEvent_t | event | ) |
Definition of CUDA's cudaEventDestroy
function using dynamically loaded cudart library.
Definition at line 130 of file cudart_symbols.cpp.
References cudartSymbols::cudaEventDestroy, and cudartSymbols::get_lib_name().
Referenced by CudaTimer::~CudaTimer().
cudaError_t cudaEventElapsedTime | ( | float * | ms, |
cudaEvent_t | start, | ||
cudaEvent_t | end | ||
) |
Definition of CUDA's cudaEventElapsedTime
function using dynamically loaded cudart library.
Definition at line 154 of file cudart_symbols.cpp.
References cudartSymbols::cudaEventElapsedTime, and cudartSymbols::get_lib_name().
Referenced by CudaTimer::elapsed().
cudaError_t cudaEventRecord | ( | cudaEvent_t | event, |
cudaStream_t | stream | ||
) |
Definition of CUDA's cudaEventRecord
function using dynamically loaded cudart library.
Definition at line 181 of file cudart_symbols.cpp.
References cudartSymbols::cudaEventRecord, and cudartSymbols::get_lib_name().
Referenced by CudaTimer::start(), and CudaTimer::stop().
cudaError_t cudaEventSynchronize | ( | cudaEvent_t | event | ) |
Definition of CUDA's cudaEventSynchronize
function using dynamically loaded cudart library.
Definition at line 205 of file cudart_symbols.cpp.
References cudartSymbols::cudaEventSynchronize, and cudartSymbols::get_lib_name().
Referenced by CudaTimer::elapsed().
cudaError_t cudaFree | ( | void * | devPtr | ) |
Definition of CUDA's cudaFree
function using dynamically loaded cudart library.
Definition at line 303 of file cudart_symbols.cpp.
References cudartSymbols::cudaFree, and cudartSymbols::get_lib_name().
Referenced by CudaInterface< ArrayType >::del().
cudaError_t cudaGetDevice | ( | int * | device | ) |
Definition of CUDA's cudaGetDevice
function using dynamically loaded cudart library.
Definition at line 229 of file cudart_symbols.cpp.
References cudartSymbols::cudaGetDevice, and cudartSymbols::get_lib_name().
Referenced by CudaInterface< ArrayType >::get_device().
cudaError_t cudaGetDeviceCount | ( | int * | count | ) |
Definition of CUDA's cudaGetDeviceCount
function using dynamically loaded cudart library.
Definition at line 253 of file cudart_symbols.cpp.
References cudartSymbols::cudaGetDeviceCount, and cudartSymbols::get_lib_name().
Referenced by query_device(), and cuLinearOperator< DataType >::query_gpu_devices().
cudaError_t cudaGetDeviceProperties | ( | cudaDeviceProp * | prop, |
int | device | ||
) |
Definition of CUDA's cudaGetDeviceProperties
function using dynamically loaded cudart library.
Definition at line 277 of file cudart_symbols.cpp.
References cudartSymbols::cudaGetDeviceProperties, and cudartSymbols::get_lib_name().
Referenced by query_device().
cudaError_t cudaMalloc | ( | void ** | devPtr, |
size_t | size | ||
) |
Definition of CUDA's cudaMalloc
function using dynamically loaded cudart library.
Definition at line 326 of file cudart_symbols.cpp.
References cudartSymbols::cudaMalloc, and cudartSymbols::get_lib_name().
Referenced by CudaInterface< ArrayType >::alloc(), and CudaInterface< ArrayType >::alloc_bytes().
cudaError_t cudaMemcpy | ( | void * | dst, |
const void * | src, | ||
size_t | count, | ||
cudaMemcpyKind | kind | ||
) |
Definition of CUDA's cudaMemcpy
function using dynamically loaded cudart library.
Definition at line 350 of file cudart_symbols.cpp.
References cudartSymbols::cudaMemcpy, and cudartSymbols::get_lib_name().
Referenced by CudaInterface< ArrayType >::copy_to_device().
cudaError_t cudaSetDevice | ( | int | device | ) |
Definition of CUDA's cudaSetDevice
function using dynamically loaded cudart library.
Definition at line 378 of file cudart_symbols.cpp.
References cudartSymbols::cudaSetDevice, and cudartSymbols::get_lib_name().
Referenced by CudaInterface< ArrayType >::set_device().