Files
rocm-systems/include/hip/hcc_detail
Daniil Fukalov 63e44d16a3 Add __attribute__((const)) to grid related functions declarations
This is cherrypick of Daniil Fukalov's PR https://github.com/ROCm-Developer-Tools/HIP/pull/2110
which has been committed to master branch.

Make declarations consistent with https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/amd-stg-open/ockl/src/workitem.cl
Without the attribute these functions don't have "readnone" LLVM IR attribute. Without it some optimizations fails, e.g. Loop Invariant Code Motion doesn't hoist these calls out of a loop.

Change-Id: Idb599570d142152cc4f6a3c8986384ad7f0c4729
2020-06-29 13:33:18 -04:00
..
2016-10-04 22:17:18 +05:30
2019-03-06 17:31:44 +05:30
2020-05-06 09:14:30 -04:00
2019-12-23 19:11:24 +05:30
2018-09-17 11:50:29 +03:00
2019-04-23 09:16:00 -04:00
2020-05-06 09:14:30 -04:00
2019-03-06 17:31:44 +05:30
2020-06-18 15:16:59 -04:00
2020-06-09 17:37:20 -04:00