I got an error with this code. Can anyone help me fix it?
device_bool = ctx.enqueue_create_buffer[DType.bool](1)
device_bool.enqueue_fill(False)
Error:
mojo: error: failed to lower module to LLVM IR for archive compilation, run LowerToLLVMPipeline failed
Caroline
(Caroline Frasca)
2
Hi @notooth,
Thanks for flagging this. This looks like the same issue reported here - I’m checking with the team and will get back to you ASAP!
Caroline
(Caroline Frasca)
3
Update: the team is currently working on fixing this issue, but in the meantime, you can use int8 , as that’s what will get used anyways.