[artiq] symbol_resolver: Fix incorrect global type for ndarray.strides
This commit is contained in:
parent
3c5e247195
commit
352c7c880b
@ -1232,7 +1232,7 @@ impl InnerResolver {
|
|||||||
|
|
||||||
// create a global for ndarray.strides and initialize it
|
// create a global for ndarray.strides and initialize it
|
||||||
let strides_global = ctx.module.add_global(
|
let strides_global = ctx.module.add_global(
|
||||||
llvm_i8.array_type(ndims as u32),
|
llvm_usize.array_type(ndims as u32),
|
||||||
Some(AddressSpace::default()),
|
Some(AddressSpace::default()),
|
||||||
&format!("${id_str}.strides"),
|
&format!("${id_str}.strides"),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user