SWDEV-327563 - Enable fixed tests linux and windows v3 (#2943)

Change-Id: Ia5c47821268d7f31b70c473ef2a4785b6735a2f1
This commit is contained in:
ROCm CI Service Account
2022-09-22 00:29:06 +05:30
committed by GitHub
parent ece11e4ed3
commit 201fe67e81
5 changed files with 8 additions and 33 deletions
@@ -248,7 +248,8 @@ TEST_CASE("Unit_hipPointerGetAttribute_MappedMem") {
}
HIP_CHECK(hipMemcpy(A_d, A_h, Nbytes, hipMemcpyHostToDevice));
int *ptr1 = 0, *ptr2 = 0;
unsigned int hostMalloc_mapped, mallocManaged;
unsigned int hostMalloc_mapped = 0;
unsigned int mallocManaged = 0;
HIP_CHECK(hipHostMalloc(&ptr1, Nbytes, hipHostMallocMapped));
HIP_CHECK(hipMallocManaged(&ptr2, Nbytes, hipMemAttachGlobal));
HIP_CHECK(hipPointerGetAttribute(&hostMalloc_mapped,