Annotate __constant__

이 커밋은 다음에 포함됨:
Alex Voicu가 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__)