From 18ce5086c5ac07d36db52861c5c864cfe37c73e6 Mon Sep 17 00:00:00 2001 From: emankov Date: Thu, 3 Jan 2019 17:17:21 +0300 Subject: [PATCH] [HIPIFY][tests] Reduce cudaRegister.cu test [ROCm/clr commit: 410f8f0b92b32c64706ce2d32d5e6efa9c5cf0a0] --- .../tests/hipify-clang/unit_tests/samples/cudaRegister.cu | 8 -------- 1 file changed, 8 deletions(-) diff --git a/projects/clr/hipamd/tests/hipify-clang/unit_tests/samples/cudaRegister.cu b/projects/clr/hipamd/tests/hipify-clang/unit_tests/samples/cudaRegister.cu index 43b4345337..11192c452e 100644 --- a/projects/clr/hipamd/tests/hipify-clang/unit_tests/samples/cudaRegister.cu +++ b/projects/clr/hipamd/tests/hipify-clang/unit_tests/samples/cudaRegister.cu @@ -22,12 +22,6 @@ THE SOFTWARE. #include #include #include -#ifdef _WIN32 -#include -#define sleep(x) Sleep(x) -#else -#include -#endif #include #include @@ -90,7 +84,6 @@ int main(){ // CHECK: hipLaunchKernelGGL(Inc1, dim3(dimGrid), dim3(dimBlock), 0, 0, Ad, Bd); Inc1<<>>(Ad, Bd); - sleep(3); A[0] = -(ITER*1.0f); std::cout<<"Same cache line before completion: \t"<< A[0]<>>(Ad, Bd); - sleep(3); A[0] = -(ITER*1.0f); std::cout<<"Diff cache line before completion: \t"<