Compiling a program with JIT and using reserve_shared inside a device code triggers the following error:
E:runtime:1313 col 32 - 51: reserve_shared: only allowed in device code
The same code compiled in the command line (anydsl_runtime_wrap) works as intended.
The zip file reserve_shared_jit.zip contains a simple project with two targets nonjit and jit.
nonjit compiles without any problems. Note, running it might return garbage, as the target intention is only to be compiled.
jit compiles, as no artic code is touched yet, but running it triggers the above mentioned error.
The error was replicated on a Ubuntu 2022.4 system with the most recent AnyDSL version (as of 19.09.2022).
Compiling a program with JIT and using
reserve_shared
inside a device code triggers the following error:The same code compiled in the command line (
anydsl_runtime_wrap
) works as intended. The zip file reserve_shared_jit.zip contains a simple project with two targetsnonjit
andjit
.nonjit
compiles without any problems. Note, running it might return garbage, as the target intention is only to be compiled.jit
compiles, as no artic code is touched yet, but running it triggers the above mentioned error.The error was replicated on a Ubuntu 2022.4 system with the most recent AnyDSL version (as of 19.09.2022).