Problem with GPU programming

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

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!

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.