SWDEV-232428 - Enable device printf for Windows

Change-Id: Id72cfc34cfcfcbcb459bd8d84979637eaf7947dd


[ROCm/hip commit: 084d25010b]
이 커밋은 다음에 포함됨:
Vladislav Sytchenko가 2021-02-26 11:46:38 -05:00를 커밋했습니다
1 부모 08828176e7
커밋 a523f75554
1 파일이 변경됨
+2 -2
+2 -2
파일 보기
@@ -34,12 +34,12 @@ THE SOFTWARE.
#include <hip/amd_detail/device_library_decls.h>
#include <hip/amd_detail/llvm_intrinsics.h>
#if __HIP_CLANG_ONLY__ && !_WIN32
#if __HIP_CLANG_ONLY__
extern "C" __device__ int printf(const char *fmt, ...);
#else
template <typename... All>
static inline __device__ void printf(const char* format, All... all) {}
#endif // __HIP_CLANG_ONLY__ && !_WIN32
#endif // __HIP_CLANG_ONLY__
/*
Integer Intrinsics