SWDEV-290993 - Fix error seen in __launch_bounds__ seen with -Werror -Wpedantic

Change-Id: If89c681a5e383c30a9233a183db282787e2f0081
Этот коммит содержится в:
Jatin Chaudhary
2021-06-15 00:36:01 -07:00
родитель de150e1803
Коммит 2223a508f5
+1 -1
Просмотреть файл
@@ -122,7 +122,7 @@ extern int HIP_TRACE_API;
amdgpu_waves_per_eu(minBlocksPerMultiprocessor)))
#define select_impl_(_1, _2, impl_, ...) impl_
#define __launch_bounds__(...) \
select_impl_(__VA_ARGS__, launch_bounds_impl1, launch_bounds_impl0)(__VA_ARGS__)
select_impl_(__VA_ARGS__, launch_bounds_impl1, launch_bounds_impl0, )(__VA_ARGS__)
#if !defined(__HIPCC_RTC__)
__host__ inline void* __get_dynamicgroupbaseptr() { return nullptr; }