2022-01-12 00:01:42 +08:00
|
|
|
#ifndef __RUNTIME_STATUS__
|
|
|
|
#define __RUNTIME_STATUS__
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2022-05-04 20:59:38 +08:00
|
|
|
// enum cudaError_t {
|
|
|
|
// CudaSuccess = 0,
|
|
|
|
// CudaErrorInvalidValue = 1,
|
|
|
|
// CudaErrorInvalidMemoryAllocation = 2,
|
|
|
|
// };
|
2022-01-12 00:01:42 +08:00
|
|
|
|
2022-05-04 20:59:38 +08:00
|
|
|
// enum cudaMemcpyKind {
|
|
|
|
// cudaMemcpyHostToHost = 0,
|
|
|
|
// cudaMemcpyHostToDevice = 1,
|
|
|
|
// cudaMemcpyDeviceToHost = 2,
|
|
|
|
// cudaMemcpyDeviceToDevice = 3,
|
|
|
|
// cudaMemcpyDefault = 4,
|
|
|
|
// };
|
2022-01-12 00:01:42 +08:00
|
|
|
#endif
|