SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops

Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
This commit is contained in:
Marko Arandjelovic
2024-06-14 13:43:02 +02:00
committed by Rakesh Roy
parent 3e945b10f1
commit a34ae6c8fc
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ TEST_CASE("Unit_hipPointerSetAttribute_Positive_SyncMemops") {
HIP_CHECK(hipMemcpy(dst.ptr(), src.ptr(), 1024, hipMemcpyDeviceToDevice));
HIP_CHECK_ERROR(hipStreamQuery(stream.stream()), hipErrorNotReady);
bool value = true;
int value = 1;
HIP_CHECK(hipPointerSetAttribute(&value, HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS,
reinterpret_cast<hipDeviceptr_t>(src.ptr())));
HIP_CHECK(hipPointerSetAttribute(&value, HIP_POINTER_ATTRIBUTE_SYNC_MEMOPS,