This commit is contained in:
David Mak 2024-08-13 17:34:35 +08:00
parent 7a8f201061
commit 00f23b1794
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ fn rpc_codegen_callback_fn<'ctx>(
);
let pbuffer_data_begin =
unsafe { buffer.ptr_offset_unchecked(ctx, generator, &dims_buf_sz, None) };
unsafe { buffer.ptr_offset(ctx, generator, &dims_buf_sz, None) };
llvm_intrinsics::call_memcpy_generic(
ctx,
pbuffer_data_begin,