Annotate __constant__

This commit is contained in:
Alex Voicu committed 2020-02-28 22:54:00 +02:00
1 parent d29ad50464
commit 27480ff5a2
1 file changed
+1 -1
+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__)