diff --git a/tests/src/runtimeApi/memory/hipMemcpy2DFromArray.cpp b/tests/src/runtimeApi/memory/hipMemcpy2DFromArray.cpp index 076cfd12d8..c8ff891eba 100644 --- a/tests/src/runtimeApi/memory/hipMemcpy2DFromArray.cpp +++ b/tests/src/runtimeApi/memory/hipMemcpy2DFromArray.cpp @@ -173,6 +173,7 @@ bool Memcpy2DFromArray::hipMemcpy2DFromArray_PeerDeviceContext() { err = hipMemcpy2DFromArray(A_h, width, A_d, 0, 0, width, NUM_H, hipMemcpyDeviceToHost); + if (err == hipSuccess) { TestPassed = ValidateResult(A_h, INITIAL_VAL); } else { @@ -281,7 +282,11 @@ int main(int argc, char **argv) { TestPassed &= Array_obj.hipMemcpy2DFromArray_SizeCheck(); } else if (p_tests == 3) { if (numDevices > 1) { +#ifndef _WIN64 TestPassed &= Array_obj.hipMemcpy2DFromArray_PeerDeviceContext(); +#else + printf("xgmi memory test not supported on windows\n"); +#endif } else { printf("skipped the testcase as noof devices <2\n"); } @@ -289,8 +294,12 @@ int main(int argc, char **argv) { TestPassed &= Array_obj.hipMemcpy2DFromArray_NegativeTests(); } else if (p_tests == 5) { if (numDevices > 1) { +#ifndef _WIN64 TestPassed &= Array_obj.hipMemcpy2DFromArray_PinnedHostMemory_SameGPU(); TestPassed &= Array_obj.hipMemcpy2DFromArray_PinnedHostMemory_PeerGPU(); +#else + printf("xgmi memory test not supported on windows\n"); +#endif } else { printf("skipped the testcases as noof devices <2\n"); } diff --git a/tests/src/runtimeApi/memory/hipMemcpyAtoH.cpp b/tests/src/runtimeApi/memory/hipMemcpyAtoH.cpp index 0e5ba8e453..08d3e6b66f 100644 --- a/tests/src/runtimeApi/memory/hipMemcpyAtoH.cpp +++ b/tests/src/runtimeApi/memory/hipMemcpyAtoH.cpp @@ -209,7 +209,9 @@ int main(int argc, char **argv) { } else if (p_tests == 2) { TestPassed = AtoH_obj.hipMemcpyAtoH_ByteCountZero(); } else if (p_tests == 3) { +#ifndef _WIN64 TestPassed = AtoH_obj.hipMemcpyAtoH_PeerDeviceContext(); +#endif } else if (p_tests == 4) { TestPassed = AtoH_obj.hipMemcpyAtoH_NegativeTests(); } else if (p_tests == 5) { diff --git a/tests/src/runtimeApi/p2p/hipDeviceGetP2PAttribute.cpp b/tests/src/runtimeApi/p2p/hipDeviceGetP2PAttribute.cpp index 2d5b605de4..a1f2850320 100644 --- a/tests/src/runtimeApi/p2p/hipDeviceGetP2PAttribute.cpp +++ b/tests/src/runtimeApi/p2p/hipDeviceGetP2PAttribute.cpp @@ -42,8 +42,12 @@ int main() { HIPCHECK(hipGetDeviceCount(&count)) if (count >= 2){ +#ifdef _WIN64 + std::cout<<"XGMI p2p attribute test no supported on windows"<