Annotate __constant__

This commit is contained in:
Alex Voicu
2020-02-28 22:54:00 +02:00
parent dacc90f415
commit 3441cd7f16
+1 -1
View File
@@ -60,7 +60,7 @@ THE SOFTWARE.
*/
// _restrict is supported by the compiler
#define __shared__ tile_static
#define __constant__ __attribute__((hc))
#define __constant__ __attribute__((hc, annotate("__HIP_constant__")))
#elif defined(__clang__) && defined(__HIP__)