SWDEV-232428 - Enable device printf for Windows
Change-Id: Id72cfc34cfcfcbcb459bd8d84979637eaf7947dd
[ROCm/clr commit: 1f8bdcaf20]
This commit is contained in:
@@ -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
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user