WIP - [artiq] Test
This commit is contained in:
parent
14d6443bc7
commit
89f600d4b0
|
@ -678,7 +678,7 @@ fn format_rpc_ret<'ctx>(
|
||||||
ctx,
|
ctx,
|
||||||
generator,
|
generator,
|
||||||
&llvm_usize.const_zero(),
|
&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,
|
// dims_buf_sz,
|
||||||
// llvm_i1.const_zero(),
|
// llvm_i1.const_zero(),
|
||||||
// );
|
// );
|
||||||
|
|
||||||
|
// 1 dim: bufsize = 32
|
||||||
|
|
||||||
let sz = call_ndarray_calc_size(generator, ctx, &ndarray.dim_sizes(), (None, None));
|
let sz = call_ndarray_calc_size(generator, ctx, &ndarray.dim_sizes(), (None, None));
|
||||||
|
|
||||||
|
@ -734,7 +736,8 @@ fn format_rpc_ret<'ctx>(
|
||||||
ctx,
|
ctx,
|
||||||
ndarray_pdata,
|
ndarray_pdata,
|
||||||
buffer.base_ptr(ctx, generator),
|
buffer.base_ptr(ctx, generator),
|
||||||
buffer_size,
|
llvm_usize.const_int(2, false),
|
||||||
|
// buffer_size,
|
||||||
llvm_i1.const_zero()
|
llvm_i1.const_zero()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue