SWDEV-395996 - Disable including driver_types in hiprtc

Do not include driver_types if rtc is defined, as it is
getting appended via hiprtc cmake

Change-Id: I940031abd6eabb2853666490cba27e2375ec39a4


[ROCm/hip commit: 5a9469db07]
This commit is contained in:
Satyanvesh Dittakavi
2023-06-23 10:39:17 +00:00
parent 2442c7565f
commit f41b061970
+1 -2
View File
@@ -45,9 +45,8 @@ THE SOFTWARE.
#if !defined(__HIPCC_RTC__)
#include <limits.h>
#include <hip/channel_descriptor.h>
#endif // !defined(__HIPCC_RTC__)
#include <hip/driver_types.h>
#endif // !defined(__HIPCC_RTC__)
#define hipTextureType1D 0x01
#define hipTextureType2D 0x02