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

Change-Id: I9d6d0665d12b62fe705ce1569a0e8264a4f23ab7


[ROCm/clr commit: fd0f49503f]
This commit is contained in:
Ravi C Akkenapally
2020-12-14 15:28:01 -08:00
parent f6a1072ffe
commit 4cf7a5799a
9 changed files with 555 additions and 2 deletions
@@ -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);
}