|
25 | 25 | #define cublasSetStream hipblasSetStream
|
26 | 26 | #define cublasSgemm hipblasSgemm
|
27 | 27 | #define cublasStatus_t hipblasStatus_t
|
| 28 | +#define cudaDeviceProp hipDeviceProp_t |
28 | 29 | #define cudaDeviceSynchronize hipDeviceSynchronize
|
29 | 30 | #define cudaError_t hipError_t
|
30 |
| -#define cudaEvent_t hipEvent_t |
31 | 31 | #define cudaEventCreateWithFlags hipEventCreateWithFlags
|
32 | 32 | #define cudaEventDisableTiming hipEventDisableTiming
|
33 | 33 | #define cudaEventRecord hipEventRecord
|
| 34 | +#define cudaEvent_t hipEvent_t |
34 | 35 | #define cudaFree hipFree
|
35 | 36 | #define cudaFreeHost hipHostFree
|
| 37 | +#define cudaGetDevice hipGetDevice |
| 38 | +#define cudaGetDeviceCount hipGetDeviceCount |
| 39 | +#define cudaGetDeviceProperties hipGetDeviceProperties |
36 | 40 | #define cudaGetErrorString hipGetErrorString
|
37 | 41 | #define cudaGetLastError hipGetLastError
|
38 | 42 | #define cudaMalloc hipMalloc
|
|
43 | 47 | #define cudaMemcpyDeviceToHost hipMemcpyDeviceToHost
|
44 | 48 | #define cudaMemcpyHostToDevice hipMemcpyHostToDevice
|
45 | 49 | #define cudaOccupancyMaxPotentialBlockSize hipOccupancyMaxPotentialBlockSize
|
46 |
| -#define cudaStream_t hipStream_t |
| 50 | +#define cudaSetDevice hipSetDevice |
47 | 51 | #define cudaStreamCreateWithFlags hipStreamCreateWithFlags
|
48 | 52 | #define cudaStreamNonBlocking hipStreamNonBlocking
|
49 | 53 | #define cudaStreamSynchronize hipStreamSynchronize
|
50 | 54 | #define cudaStreamWaitEvent hipStreamWaitEvent
|
| 55 | +#define cudaStream_t hipStream_t |
51 | 56 | #define cudaSuccess hipSuccess
|
52 | 57 | #else
|
53 | 58 | #include <cuda_runtime.h>
|
|
0 commit comments