WIP - [artiq] Test
This commit is contained in:
parent
1e5b68fc04
commit
5e7d86bd50
|
@ -603,9 +603,8 @@ fn format_rpc_ret<'ctx>(
|
|||
let dims_buf_sz =
|
||||
ctx.builder.build_int_mul(ndarray.load_ndims(ctx), llvm_usize_sizeof, "").unwrap();
|
||||
|
||||
// let buffer_size =
|
||||
// ctx.builder.build_int_add(dims_buf_sz, llvm_pdata_sizeof, "").unwrap();
|
||||
let buffer_size = llvm_usize.const_int(32, false);
|
||||
let buffer_size =
|
||||
ctx.builder.build_int_add(dims_buf_sz, llvm_pdata_sizeof, "").unwrap();
|
||||
|
||||
let buffer =
|
||||
ctx.builder.build_array_alloca(llvm_pi8, buffer_size, "rpc.buffer").unwrap();
|
||||
|
@ -723,8 +722,7 @@ fn format_rpc_ret<'ctx>(
|
|||
ctx,
|
||||
ndarray_pdata,
|
||||
buffer.base_ptr(ctx, generator),
|
||||
llvm_usize.const_int(8, false),
|
||||
// buffer_size,
|
||||
buffer_size,
|
||||
llvm_i1.const_zero()
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue