Annotate __constant__ (#1901)
This commit is contained in:
commit
e8bd9768d1
1 file changed
+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__)
|
||||
|
||||
|
||||
Reference in new issue
Block a user