Home
last modified time | relevance | path

Searched refs:cudaError_t (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/tests/ut/cpp/stub/runtime/
Dcuda_runtime_api.h20 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);
Dcuda_runtime_api.cc18 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/
Dwaitfor.hpp37 static void trampoline( cudaStream_t st, cudaError_t status, void * vp) { in trampoline()
46cudaError_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 };
84cudaError_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/
Dgpu_common.h58cudaError_t status = (expression); …
67 cudaError_t status = (expression); \
76 cudaError_t status = (expression); \
86 cudaError_t status = (expression); \
95 cudaError_t status = (expression); \
Dqueue_common.h32 cudaError_t status = (expression); \
/third_party/boost/libs/fiber/doc/
Dcuda.qbk85 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/
Dflatten_gpu_kernel.h44 cudaError_t ret = in Launch()
Dflatten_grad_gpu_kernel.h45 cudaError_t ret = in Launch()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dsqueeze_gpu_kernel.h45 cudaError_t ret = in Launch()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/rl/
Dbuffer_get_gpu_kernel.cc73 cudaError_t error = cudaGetLastError(); in Launch()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/sponge/
Dcommon_sponge.cuh244 cudaError_t cuda_error = cudaMalloc(&address[0], size); in Cuda_Malloc_Safely()
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_profiling.cc55 cudaError_t status = (expression); \