Skip to content

Commit

Permalink
Update taichi/backends/vulkan/aot_module_builder_impl.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ye authored Feb 25, 2022
1 parent 512a6ba commit 8fd0149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/backends/vulkan/aot_module_builder_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class AotDataConverter {
arr_arg.dtype_name = arg.dt.to_string();
arr_arg.field_dim = arg.field_dim;
arr_arg.element_shape = arg.element_shape;
arr_arg.shape_offset_in_args_buf = arg.index * sizeof(int);
arr_arg.shape_offset_in_args_buf = arg.index * sizeof(int32_t);
res.arr_args[arg.index] = arr_arg;
}
}
Expand Down

0 comments on commit 8fd0149

Please sign in to comment.