Annotate __constant__ (#1901)

这个提交包含在:
Maneesh Gupta 编写, GitHub 于 2020-03-17 13:59:44 +05:30 提交
2 父节点 fc223dc584 b9544eabe8
当前提交 e8bd9768d1
1 个文件已更改
+1 -1
+1 -1
查看文件
@@ -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__)