SWDEV-444289 - Map hipDeviceAttributeCanUseStreamWaitValue to enum in CUDA

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I174bea3e37abfc6d92dc5f90376442c37370a831
Этот коммит содержится в:
Sebastian Luzynski committed 2024-02-19 02:16:22 -05:00
1 родитель 873a9b389b
Коммит bfe18b50f5
1 file changed
+3
+3
Просмотреть файл
@@ -2558,6 +2558,9 @@ inline static hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t att
case hipDeviceAttributeCanUseHostPointerForRegisteredMem:
cdattr = cudaDevAttrCanUseHostPointerForRegisteredMem;
break;
case hipDeviceAttributeCanUseStreamWaitValue:
cdattr = cudaDevAttrReserved92;
break;
case hipDeviceAttributeComputePreemptionSupported:
cdattr = cudaDevAttrComputePreemptionSupported;
break;