File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 26
26
#define cublasStatus_t hipblasStatus_t
27
27
#define cudaDeviceSynchronize hipDeviceSynchronize
28
28
#define cudaError_t hipError_t
29
+ #define cudaEvent_t hipEvent_t
29
30
#define cudaEventCreateWithFlags hipEventCreateWithFlags
30
31
#define cudaEventDisableTiming hipEventDisableTiming
31
32
#define cudaEventRecord hipEventRecord
32
- #define cudaEvent_t hipEvent_t
33
33
#define cudaFree hipFree
34
34
#define cudaFreeHost hipHostFree
35
35
#define cudaGetErrorString hipGetErrorString
40
40
#define cudaMemcpyAsync hipMemcpyAsync
41
41
#define cudaMemcpyDeviceToHost hipMemcpyDeviceToHost
42
42
#define cudaMemcpyHostToDevice hipMemcpyHostToDevice
43
+ #define cudaOccupancyMaxPotentialBlockSize hipOccupancyMaxPotentialBlockSize
44
+ #define cudaStream_t hipStream_t
43
45
#define cudaStreamCreateWithFlags hipStreamCreateWithFlags
44
46
#define cudaStreamNonBlocking hipStreamNonBlocking
45
47
#define cudaStreamSynchronize hipStreamSynchronize
46
48
#define cudaStreamWaitEvent hipStreamWaitEvent
47
- #define cudaStream_t hipStream_t
48
49
#define cudaSuccess hipSuccess
49
50
#else
50
51
#include < cuda_runtime.h>
You can’t perform that action at this time.
0 commit comments