[artiq] WIP - Alignment Fix RPC of ndarrays to host

This commit is contained in:
David Mak 2024-08-15 13:15:53 +08:00
parent c3b7aa6386
commit 174cee9b11
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ fn format_rpc_arg<'ctx>(
let buffer_size =
ctx.builder.build_int_add(dims_buf_sz, llvm_pdata_sizeof, "").unwrap();
let buffer = ctx.builder.build_array_alloca(llvm_i8, buffer_size, "rpc.arg").unwrap();
let buffer = ctx.builder.build_array_alloca(llvm_pi8, buffer_size, "rpc.arg").unwrap();
let buffer = ArraySliceValue::from_ptr_val(buffer, buffer_size, Some("rpc.arg"));
call_memcpy_generic(