This commit is contained in:
David Mak 2024-08-13 17:38:35 +08:00
parent 0c1153e40e
commit 6387cd5215
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ fn rpc_codegen_callback_fn<'ctx>(
let data_buf_sz = ctx
.builder
.build_int_mul(
call_ndarray_calc_size(generator, ctx, &llvm_arg.data(), (None, None)),
call_ndarray_calc_size(generator, ctx, &llvm_arg.dim_sizes(), (None, None)),
llvm_elem_sizeof,
"",
)