diff --git a/nac3artiq/src/codegen.rs b/nac3artiq/src/codegen.rs index 11e9e911..0ed0be96 100644 --- a/nac3artiq/src/codegen.rs +++ b/nac3artiq/src/codegen.rs @@ -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() );