SWDEV-232428 - Enable device printf for Windows

Change-Id: Id72cfc34cfcfcbcb459bd8d84979637eaf7947dd


[ROCm/hip commit: 084d25010b]
Ta zmiana jest zawarta w:
%! (template.HTML=Vladislav Sytchenko)złożyło 2021-02-26 11:46:38 -05:00
1 rodzic 08828176e7
złożenie a523f75554
Plik 1 zmieniony
+2 -2
+2 -2
Wyświetl plik
@@ -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