Skip to content

Commit 95cc014

Browse files
authored
Adding iree_hal_amdgpu_system_t to manage HSA/topology/pools. (iree-org#21043)
The system is shared across all physical devices within a logical device and owns resources shared across them (it's how we avoid a cycle between logical<->physical device impls).
1 parent 943d454 commit 95cc014

File tree

4 files changed

+584
-2
lines changed

4 files changed

+584
-2
lines changed

runtime/src/iree/hal/drivers/amdgpu/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ iree_runtime_cc_library(
4646
# "semaphore.h",
4747
# "semaphore_pool.c",
4848
# "semaphore_pool.h",
49-
# "system.c",
50-
# "system.h",
49+
"system.c",
50+
"system.h",
5151
# "trace_buffer.c",
5252
# "trace_buffer.h",
5353
],

runtime/src/iree/hal/drivers/amdgpu/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ iree_cc_library(
3030
"logical_device.h"
3131
"physical_device.c"
3232
"physical_device.h"
33+
"system.c"
34+
"system.h"
3335
DEPS
3436
iree::base
3537
iree::base::internal

0 commit comments

Comments
 (0)