Annotate __constant__ (#1901)

[ROCm/hip commit: eee5cc8621]
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2020-03-17 13:59:44 +05:30
2 tuismitheoirí e0da34b5b1 8cecdaa704
tiomantas 8feab1161e
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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__)