Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
galeselee committed Jan 4, 2023
1 parent 5af3ccd commit da70bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/rhi/amdgpu/amdgpu_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void AMDGPUContext::launch(void *func,
pack_args(arg_pointers, arg_sizes, packed_arg);
if (grid_dim > 0) {
std::lock_guard<std::mutex> _(lock_);
void *config[] = {(void *)0x01, (void *)pack_args, (void *)0x02,
void *config[] = {(void *)0x01, (void *)packed_arg, (void *)0x02,
(void *)&pack_size, (void *)0x03};
driver_.launch_kernel(func, grid_dim, 1, 1, block_dim, 1, 1,
dynamic_shared_mem_bytes, nullptr, nullptr,
Expand Down

0 comments on commit da70bc2

Please sign in to comment.