SWDEV-306643 - add align and launch bounds for hiprtc

Change-Id: Id178230eeeec94a8678e96474c35376d5427599a


[ROCm/clr commit: 9caaa6f492]
This commit is contained in:
cjatin authored and Jatin Chaudhary committed 2021-10-17 17:07:04 -04:00
1 vanhempi b990308648
commit fa0694e90f
1 file changed
+1
@@ -32,6 +32,7 @@ function(get_hiprtc_macros HIPRTC_DEFINES)
#define __global__ __attribute__((global))\n\
#define __constant__ __attribute__((constant))\n\
#define __shared__ __attribute__((shared))\n\
#define __align__(x) __attribute__((aligned(x)))\n\
#define launch_bounds_impl0(requiredMaxThreadsPerBlock) \\\n\
__attribute__((amdgpu_flat_work_group_size(1, requiredMaxThreadsPerBlock)))\n\