SWDEV-283266 - __HIPCC_RTC__ macro added to HIP headers
For hipRTC on Windows, add macro __HIPCC_RTC__ to allow online compilation of with device functions excluding standard C/C++ headers, system headers, and host HIP APIs. Change-Id: I1d91f042baf1359856ec83ab7030dc58785e0334
Этот коммит содержится в:
@@ -26,9 +26,10 @@ THE SOFTWARE.
|
||||
#include "host_defines.h"
|
||||
#include "math_fwd.h"
|
||||
|
||||
#if !defined(__HIPCC_RTC__)
|
||||
#include <hip/hip_runtime_api.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#endif // !defined(__HIPCC_RTC__)
|
||||
|
||||
#include <hip/hip_vector_types.h>
|
||||
#include <hip/amd_detail/device_library_decls.h>
|
||||
|
||||
Ссылка в новой задаче
Block a user