fix hip
This commit is contained in:
parent
5b6b4ac235
commit
c2dba0450f
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@
|
||||||
#define cudaGetDeviceProperties hipGetDeviceProperties
|
#define cudaGetDeviceProperties hipGetDeviceProperties
|
||||||
#define cudaGetErrorString hipGetErrorString
|
#define cudaGetErrorString hipGetErrorString
|
||||||
#define cudaGetLastError hipGetLastError
|
#define cudaGetLastError hipGetLastError
|
||||||
|
#define cudaHostRegister hipHostRegister
|
||||||
|
#define cudaHostRegisterPortable hipHostRegisterPortable
|
||||||
|
#define cudaHostRegisterReadOnly hipHostRegisterReadOnly
|
||||||
|
#define cudaHostUnregister hipHostUnregister
|
||||||
#define cudaLaunchHostFunc hipLaunchHostFunc
|
#define cudaLaunchHostFunc hipLaunchHostFunc
|
||||||
#ifdef GGML_HIP_UMA
|
#ifdef GGML_HIP_UMA
|
||||||
#define cudaMalloc hipMallocManaged
|
#define cudaMalloc hipMallocManaged
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue