CUresult 72 src/runtime/cuda.cpp WEAK const char *get_error_name(CUresult error); CUresult 73 src/runtime/cuda.cpp WEAK CUresult create_cuda_context(void *user_context, CUcontext *ctx); CUresult 106 src/runtime/cuda.cpp CUresult error = create_cuda_context(user_context, &context); CUresult 172 src/runtime/cuda.cpp WEAK CUresult create_cuda_context(void *user_context, CUcontext *ctx) { CUresult 174 src/runtime/cuda.cpp CUresult err = cuInit(0); CUresult 202 src/runtime/cuda.cpp CUresult status = cuDeviceGet(&dev, i); CUresult 222 src/runtime/cuda.cpp CUresult status = cuDeviceGet(&dev, device); CUresult 352 src/runtime/cuda.cpp CUresult result = cuPointerGetAttribute(&ctx, CU_POINTER_ATTRIBUTE_CONTEXT, dev_ptr); CUresult 408 src/runtime/cuda.cpp CUresult err = cuModuleLoadDataEx(&(*state)->module, ptx_src, 1, options, optionValues); CUresult 453 src/runtime/cuda.cpp CUresult err = cuMemFree(dev_ptr); CUresult 558 src/runtime/cuda.cpp CUresult err = cuMemAlloc(&p, size); CUresult 586 src/runtime/cuda.cpp CUresult err = CUDA_SUCCESS; CUresult 691 src/runtime/cuda.cpp CUresult err = cuCtxSynchronize(); CUresult 727 src/runtime/cuda.cpp CUresult err; CUresult 867 src/runtime/cuda.cpp WEAK const char *get_error_name(CUresult error) { CUresult 16 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuInit, (unsigned int Flags)); CUresult 17 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuDeviceGetCount, (int *count)); CUresult 18 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuDeviceGet, (CUdevice *device, int ordinal)); CUresult 19 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuDeviceGetAttribute, (int *, CUdevice_attribute attrib, CUdevice dev)); CUresult 20 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuDeviceGetName, (char *, int len, CUdevice dev)); CUresult 21 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuDeviceTotalMem, (size_t *, CUdevice dev)); CUresult 22 src/runtime/cuda_functions.h CUDA_FN_3020(CUresult, cuCtxCreate, cuCtxCreate_v2, (CUcontext *pctx, unsigned int flags, CUdevice dev)); CUresult 23 src/runtime/cuda_functions.h CUDA_FN_4000(CUresult, cuCtxDestroy, cuCtxDestroy_v2, (CUcontext pctx)); CUresult 24 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuProfilerStop, ()); CUresult 25 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuCtxGetApiVersion, (CUcontext ctx, unsigned int *version)); CUresult 26 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuModuleLoadData, (CUmodule *module, const void *image)); CUresult 27 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuModuleLoadDataEx, (CUmodule *module, const void *image, unsigned int numOptions, CUjit_option* options, void** optionValues)); CUresult 28 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuModuleUnload, (CUmodule module)); CUresult 29 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuModuleGetFunction, (CUfunction *hfunc, CUmodule hmod, const char *name)); CUresult 30 src/runtime/cuda_functions.h CUDA_FN_3020(CUresult, cuMemAlloc, cuMemAlloc_v2, (CUdeviceptr *dptr, size_t bytesize)); CUresult 31 src/runtime/cuda_functions.h CUDA_FN_3020(CUresult, cuMemFree, cuMemFree_v2, (CUdeviceptr dptr)); CUresult 32 src/runtime/cuda_functions.h CUDA_FN_3020(CUresult, cuMemcpyHtoD, cuMemcpyHtoD_v2, (CUdeviceptr dstDevice, const void *srcHost, size_t ByteCount)); CUresult 33 src/runtime/cuda_functions.h CUDA_FN_3020(CUresult, cuMemcpyDtoH, cuMemcpyDtoH_v2, (void *dstHost, CUdeviceptr srcDevice, size_t ByteCount)); CUresult 34 src/runtime/cuda_functions.h CUDA_FN_3020(CUresult, cuMemcpy3D, cuMemcpy3D_v2, (const CUDA_MEMCPY3D *pCopy)); CUresult 35 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuLaunchKernel, (CUfunction f, CUresult 46 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuCtxSynchronize, ()); CUresult 48 src/runtime/cuda_functions.h CUDA_FN_4000(CUresult, cuCtxPushCurrent, cuCtxPushCurrent_v2, (CUcontext ctx)); CUresult 49 src/runtime/cuda_functions.h CUDA_FN_4000(CUresult, cuCtxPopCurrent, cuCtxPopCurrent_v2, (CUcontext *pctx)); CUresult 51 src/runtime/cuda_functions.h CUDA_FN(CUresult, cuPointerGetAttribute, (void *result, int query, CUdeviceptr ptr)); CUresult 128 test/generator/acquire_release_aottest.cpp CUresult err = cuInit(0); CUresult 148 test/generator/acquire_release_aottest.cpp CUresult status;