disable printf on hip-clang on Windows (#2021)
[ROCm/hip commit: 386a0e0123]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
90425eb47a
Коммит
fb3bedb154
@@ -34,7 +34,7 @@ THE SOFTWARE.
|
||||
#include <hip/hcc_detail/device_library_decls.h>
|
||||
#include <hip/hcc_detail/llvm_intrinsics.h>
|
||||
|
||||
#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
|
||||
|
||||
Ссылка в новой задаче
Block a user