SWDEV-179105 - Stream Operations: Add swqupport for Wait and Write

Change-Id: I9d6d0665d12b62fe705ce1569a0e8264a4f23ab7


[ROCm/hip commit: e89b228eac]
This commit is contained in:
Ravi C Akkenapally committed 2021-03-02 12:15:46 -08:00
1 orang tua 0604a66dbc
melakukan 3d9b4cc2c2
9 files changed
+555 -2

No files matched your search

@@ -314,6 +314,9 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
case hipDeviceAttributePageableMemoryAccessUsesHostPageTables:
*pi = prop.pageableMemoryAccessUsesHostPageTables;
break;
case hipDeviceAttributeCanUseStreamWaitValue:
*pi = prop.canUseStreamWaitValue;
break;
default:
HIP_RETURN(hipErrorInvalidValue);
}