Annotate __constant__
这个提交包含在:
1 父节点
dacc90f415
当前提交
3441cd7f16
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__)
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户