CuPBoP/runtime/include/cudaStatus.h

19 lines
398 B
C
Raw Normal View History

#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-05-04 20:59:38 +08:00
// enum cudaMemcpyKind {
// cudaMemcpyHostToHost = 0,
// cudaMemcpyHostToDevice = 1,
// cudaMemcpyDeviceToHost = 2,
// cudaMemcpyDeviceToDevice = 3,
// cudaMemcpyDefault = 4,
// };
#endif