SWDEV-470372 - Added hipExtHostAlloc API

This change adds a new HIP API `hipExtHostAlloc` which preserves
the functionality of `hipHostMalloc`.

Change-Id: I13504c6fc13465ddd7aed329795bb4f2fef1baff
Esse commit está contido em:
Ioannis Assiouras committed 2024-08-27 08:26:03 -04:00
1 pai bb52d9ed62
commit 2c84211b58
9 files changed
+71 -13

No files matched your search

+1 -1
Ver Arquivo
@@ -172,7 +172,7 @@ release(uint, HIP_LAUNCH_BLOCKING, 0, \
release(bool, PAL_ALWAYS_RESIDENT, false, \
"Force memory resources to become resident at allocation time") \
release(uint, HIP_HOST_COHERENT, 0, \
"Coherent memory in hipHostMalloc, 0x1 = memory is coherent with host"\
"Coherent memory in hipExtHostAlloc, 0x1 = memory is coherent with host"\
"0x0 = memory is not coherent between host and GPU") \
release(uint, AMD_OPT_FLUSH, 1, \
"Kernel flush option , 0x0 = Use system-scope fence operations." \