Annotate __constant__

Tá an tiomantas seo le fáil i:
Alex Voicu tiomanta 2020-02-28 22:54:00 +02:00
1 tuismitheoir d29ad50464
tiomantas 27480ff5a2
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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__)