[artiq] symbol_resolver: Fix incorrect global type for ndarray.strides

This commit is contained in:
David Mak 2025-01-06 16:41:21 +08:00
parent 3c5e247195
commit 352c7c880b

View File

@ -1232,7 +1232,7 @@ impl InnerResolver {
// create a global for ndarray.strides and initialize it
let strides_global = ctx.module.add_global(
llvm_i8.array_type(ndims as u32),
llvm_usize.array_type(ndims as u32),
Some(AddressSpace::default()),
&format!("${id_str}.strides"),
);