hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
- the hipHost* is used for all HIP APIs dealing with Host memory.
(including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
- hipMallocHost is consistent with "hipMalloc" for allocating device
memory. Enumerations hipHostMalloc* also used as optional
flags parm to hipHostMalloc.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ Stay tuned - the work for many of these features is already in-flight.
|
||||
|
||||
Next:
|
||||
- Deprecate hipDeviceGetProp, replace with hipGetDeviceProp
|
||||
- Deprecate hipMallocHost (Replace with hipHostAlloc with hipHostAllocDefault as last parameter).
|
||||
- Deprecate hipMallocHost (Replace with hipHostMalloc)
|
||||
- Deprecate hipFreeHost (Replace with hipHostFree).
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user