From 352c7c880b3604f78b84d31f86114ce8c79b2830 Mon Sep 17 00:00:00 2001 From: David Mak Date: Mon, 6 Jan 2025 16:41:21 +0800 Subject: [PATCH] [artiq] symbol_resolver: Fix incorrect global type for ndarray.strides --- nac3artiq/src/symbol_resolver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3artiq/src/symbol_resolver.rs b/nac3artiq/src/symbol_resolver.rs index 7b70cc49..75600cc2 100644 --- a/nac3artiq/src/symbol_resolver.rs +++ b/nac3artiq/src/symbol_resolver.rs @@ -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"), );