SWDEV-461791 - Enable Unit_hipPointerSetAttribute_Positive_SyncMemops
Change-Id: I9be8fb4622d60d9f05d3601eeccc5f6e0687a3e3
This commit is contained in:
committed by
Rakesh Roy
parent
3e945b10f1
commit
a34ae6c8fc
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user