2
0

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
Este cometimento está contido em:
Aaron En Ye Shi
2021-05-05 21:26:21 +00:00
ascendente 73964037c1
cometimento 811bc363c8
12 ficheiros modificados com 368 adições e 310 eliminações
+2
Ver ficheiro
@@ -28,7 +28,9 @@ THE SOFTWARE.
#include <hip/hip_texture_types.h>
#include <hip/amd_detail/ockl_image.h>
#if !defined(__HIPCC_RTC__)
#include <type_traits>
#endif // !defined(__HIPCC_RTC__)
#define TEXTURE_OBJECT_PARAMETERS_INIT \
unsigned int ADDRESS_SPACE_CONSTANT* i = (unsigned int ADDRESS_SPACE_CONSTANT*)textureObject; \