[general] added support for constant memory declaration

This commit is contained in:
Philippe Tillet
2019-03-03 23:16:33 -05:00
parent 1f30e111ec
commit 4189e130bf
11 changed files with 211 additions and 144 deletions

View File

@@ -38,6 +38,9 @@ extern translation_unit *ast_root;
const char src[] =
"\
__constant__ int32* delta = alloc_const int32[16];\
__constant__ int32* masks = alloc_const int32[16];\
\
const tunable int32 TM;\
const tunable int32 TN;\
const tunable int32 TK;\