WIP - [artiq] Test

This commit is contained in:
David Mak 2024-08-15 05:06:07 +08:00
parent 14d6443bc7
commit 89f600d4b0
1 changed files with 5 additions and 2 deletions

View File

@ -678,7 +678,7 @@ fn format_rpc_ret<'ctx>(
ctx,
generator,
&llvm_usize.const_zero(),
llvm_usize.const_int(10, false),
llvm_usize.const_int(4, false),
);
}
@ -692,6 +692,8 @@ fn format_rpc_ret<'ctx>(
// dims_buf_sz,
// llvm_i1.const_zero(),
// );
// 1 dim: bufsize = 32
let sz = call_ndarray_calc_size(generator, ctx, &ndarray.dim_sizes(), (None, None));
@ -734,7 +736,8 @@ fn format_rpc_ret<'ctx>(
ctx,
ndarray_pdata,
buffer.base_ptr(ctx, generator),
buffer_size,
llvm_usize.const_int(2, false),
// buffer_size,
llvm_i1.const_zero()
);