Annotate __constant__

このコミットが含まれているのは:
Alex Voicu committed 2020-02-28 22:54:00 +02:00
1 親 d29ad50464
コミット 27480ff5a2
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__)