Skip to content

Commit

Permalink
Adding 'amdgpu' target device and flatbuffer for HAL executables. (ir…
Browse files Browse the repository at this point in the history
…ee-org#18933)

The schema may change as the branch gets closer to merging but the
refactoring in the compiler for serializing multiple ABIs will remain
the same.
  • Loading branch information
benvanik authored Oct 29, 2024
1 parent 4376117 commit a321be2
Show file tree
Hide file tree
Showing 7 changed files with 321 additions and 76 deletions.
1 change: 1 addition & 0 deletions compiler/plugins/target/ROCM/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ iree_compiler_cc_library(
"//compiler/src/iree/compiler/Dialect/HAL/Utils:LLVMLinkerUtils",
"//compiler/src/iree/compiler/PluginAPI",
"//compiler/src/iree/compiler/Utils",
"//runtime/src/iree/schemas:amdgpu_executable_def_c_fbs",
"//runtime/src/iree/schemas:executable_debug_info_c_fbs",
"//runtime/src/iree/schemas:hip_executable_def_c_fbs",
"@llvm-project//llvm:AMDGPUCodeGen",
Expand Down
1 change: 1 addition & 0 deletions compiler/plugins/target/ROCM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ iree_cc_library(
iree::compiler::Dialect::HAL::Utils::LLVMLinkerUtils
iree::compiler::PluginAPI
iree::compiler::Utils
iree::schemas::amdgpu_executable_def_c_fbs
iree::schemas::executable_debug_info_c_fbs
iree::schemas::hip_executable_def_c_fbs
PUBLIC
Expand Down
Loading

0 comments on commit a321be2

Please sign in to comment.