Skip to content

Commit

Permalink
disable amdgpu_runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
galeselee committed Dec 31, 2022
1 parent ce3cbb3 commit fc303b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion taichi/codegen/amdgpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ target_include_directories(amdgpu_codegen
)

target_link_libraries(amdgpu_codegen PRIVATE taichi_util)
target_link_libraries(amdgpu_codegen PRIVATE amdgpu_runtime)
# target_link_libraries(amdgpu_codegen PRIVATE amdgpu_runtime)
2 changes: 1 addition & 1 deletion taichi/codegen/amdgpu/codegen_amdgpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ FunctionType AMDGPUModuleToFunctionConverter::convert(
TI_TRACE("Launching kernel {}<<<{}, {}>>>", task.name, task.grid_dim,
task.block_dim);
amdgpu_module->launch(task.name, task.grid_dim, task.block_dim, 0,
{ (void *)&context_pointer, (void *)&arg_size });
{(void *)&context_pointer, (void *)&arg_size});
}
AMDGPUDriver::get_instance().stream_synchronize(nullptr);
TI_TRACE("Launching kernel");
Expand Down

0 comments on commit fc303b8

Please sign in to comment.