Searched refs:cudaError_t (Results 1 – 12 of 12) sorted by relevance
/third_party/mindspore/tests/ut/cpp/stub/runtime/ |
D | cuda_runtime_api.h | 20 typedef enum { cudaSuccess = 0, cudaErrorNotReady = 1 } cudaError_t; typedef 37 cudaError_t cudaMalloc(void **devPtr, size_t size); 38 cudaError_t cudaFree(void *devPtr); 39 cudaError_t cudaMemcpy(void *dst, const void *src, size_t count, enum cudaMemcpyKind kind); 40 cudaError_t cudaMemGetInfo(size_t *free, size_t *total); 41 cudaError_t cudaStreamCreate(cudaStream_t *pStream); 42 cudaError_t cudaStreamDestroy(cudaStream_t stream); 43 cudaError_t cudaStreamSynchronize(cudaStream_t stream); 44 cudaError_t cudaGetDeviceCount(int *count); 45 cudaError_t cudaSetDevice(int device);
|
D | cuda_runtime_api.cc | 18 cudaError_t cudaMalloc(void **devPtr, size_t size) { return cudaSuccess; } in cudaMalloc() 20 cudaError_t cudaFree(void *devPtr) { return cudaSuccess; } in cudaFree() 22 cudaError_t cudaMemcpy(void *dst, const void *src, size_t count, enum cudaMemcpyKind kind) { return… in cudaMemcpy() 24 cudaError_t cudaMemGetInfo(size_t *free, size_t *total) { return cudaSuccess; } in cudaMemGetInfo() 26 cudaError_t cudaStreamCreate(cudaStream_t *pStream) { return cudaSuccess; } in cudaStreamCreate() 28 cudaError_t cudaStreamDestroy(cudaStream_t stream) { return cudaSuccess; } in cudaStreamDestroy() 30 cudaError_t cudaStreamSynchronize(cudaStream_t stream) { return cudaSuccess; } in cudaStreamSynchronize() 32 cudaError_t cudaGetDeviceCount(int *count) { return cudaSuccess; } in cudaGetDeviceCount() 34 cudaError_t cudaSetDevice(int device) { return cudaSuccess; } in cudaSetDevice()
|
/third_party/boost/boost/fiber/cuda/ |
D | waitfor.hpp | 37 static void trampoline( cudaStream_t st, cudaError_t status, void * vp) { in trampoline() 46 …cudaError_t status = ::cudaStreamAddCallback( st, trampoline< single_stream_rendezvous >, this, fl… in single_stream_rendezvous() 54 void notify( cudaStream_t st, cudaError_t status) noexcept { in notify() 63 std::tuple< cudaStream_t, cudaError_t > wait() { in wait() 73 cudaError_t status_{ cudaErrorUnknown }; 84 …cudaError_t status = ::cudaStreamAddCallback( st, trampoline< many_streams_rendezvous >, this, fla… 93 void notify( cudaStream_t st, cudaError_t status) noexcept { in notify() 103 std::vector< std::tuple< cudaStream_t, cudaError_t > > wait() { in wait() 113 std::vector< std::tuple< cudaStream_t, cudaError_t > > results_; 121 std::tuple< cudaStream_t, cudaError_t > waitfor_all( cudaStream_t st) { in waitfor_all() [all …]
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/ |
D | gpu_common.h | 58 …cudaError_t status = (expression); … 67 cudaError_t status = (expression); \ 76 cudaError_t status = (expression); \ 86 cudaError_t status = (expression); \ 95 cudaError_t status = (expression); \
|
D | queue_common.h | 32 cudaError_t status = (expression); \
|
/third_party/boost/libs/fiber/doc/ |
D | cuda.qbk | 85 std::tuple< cudaStream_t, cudaError_t > waitfor_all( cudaStream_t st); 86 std::vector< std::tuple< cudaStream_t, cudaError_t > > waitfor_all( cudaStream_t ... st); 99 std::tuple< cudaStream_t, cudaError_t > waitfor_all( cudaStream_t st); 100 std::vector< std::tuple< cudaStream_t, cudaError_t > > waitfor_all( cudaStream_t ... st);
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/ |
D | flatten_gpu_kernel.h | 44 cudaError_t ret = in Launch()
|
D | flatten_grad_gpu_kernel.h | 45 cudaError_t ret = in Launch()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/ |
D | squeeze_gpu_kernel.h | 45 cudaError_t ret = in Launch()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/rl/ |
D | buffer_get_gpu_kernel.cc | 73 cudaError_t error = cudaGetLastError(); in Launch()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/ |
D | common_sponge.cuh | 244 cudaError_t cuda_error = cudaMalloc(&address[0], size); in Cuda_Malloc_Safely()
|
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/ |
D | gpu_profiling.cc | 55 cudaError_t status = (expression); \
|