diff --git a/projects/hip/tests/src/hipMemcpy.cpp b/projects/hip/tests/src/hipMemcpy.cpp index 97a372304a..8286454098 100644 --- a/projects/hip/tests/src/hipMemcpy.cpp +++ b/projects/hip/tests/src/hipMemcpy.cpp @@ -223,6 +223,9 @@ int main(int argc, char *argv[]) { HipTest::parseStandardArguments(argc, argv, true); + printf ("info: set device to %d\n", p_gpuDevice); + HIPCHECK(hipSetDevice(p_gpuDevice)); + if (p_tests & 0x1) { HIPCHECK ( hipDeviceReset() ); diff --git a/projects/hip/tests/src/hipPointerAttrib.cpp b/projects/hip/tests/src/hipPointerAttrib.cpp index 586b2af5b5..6928ec9a64 100644 --- a/projects/hip/tests/src/hipPointerAttrib.cpp +++ b/projects/hip/tests/src/hipPointerAttrib.cpp @@ -301,6 +301,7 @@ void clusterAllocs(int numAllocs, size_t minSize, size_t maxSize) for (int i =0; i