Does Mojo REPL support GPU? I’m testing it, and this example works fine when run as a script, but not in the REPL.
from std.gpu.host import DeviceContext
def main() raises:
with DeviceContext() as ctx:
print(ctx.name())
I keep getting
oss/modular/mojo/stdlib/std/gpu/host/info.mojo:2443:5: note: constraint failed: Unknown GPU architecture detected