From fb3bedb154539a396da8d9538d32f2504cd8b130 Mon Sep 17 00:00:00 2001 From: Aryan Salmanpour Date: Fri, 17 Apr 2020 01:03:24 -0400 Subject: [PATCH] disable printf on hip-clang on Windows (#2021) [ROCm/hip commit: 386a0e0123d67b95b4c0ebb3ebcf1d1615758146] --- projects/hip/include/hip/hcc_detail/device_functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/hcc_detail/device_functions.h b/projects/hip/include/hip/hcc_detail/device_functions.h index 0a775df275..4e07349e85 100644 --- a/projects/hip/include/hip/hcc_detail/device_functions.h +++ b/projects/hip/include/hip/hcc_detail/device_functions.h @@ -34,7 +34,7 @@ THE SOFTWARE. #include #include -#if __HIP_CLANG_ONLY__ && __HIP_VDI__ +#if __HIP_CLANG_ONLY__ && __HIP_VDI__ && !_WIN32 extern "C" __device__ int printf(const char *fmt, ...); #else #if HC_FEATURE_PRINTF