Skip to content

Commit

Permalink
Merge pull request #1470 from wenju-he/fix-bindless-L0-copy
Browse files Browse the repository at this point in the history
[L0][Bindless Image] Bug fixes and sampled image support
  • Loading branch information
kbenzie authored Jun 19, 2024
2 parents 0e5bbcb + f8e1f07 commit ded4b88
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 129 deletions.
2 changes: 1 addition & 1 deletion source/adapters/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if (NOT DEFINED LEVEL_ZERO_LIBRARY OR NOT DEFINED LEVEL_ZERO_INCLUDE_DIR)
set(UR_LEVEL_ZERO_LOADER_REPO "https://github.com/oneapi-src/level-zero.git")
endif()
if (UR_LEVEL_ZERO_LOADER_TAG STREQUAL "")
set(UR_LEVEL_ZERO_LOADER_TAG v1.16.1)
set(UR_LEVEL_ZERO_LOADER_TAG v1.17.0)
endif()

# Disable due to a bug https://github.com/oneapi-src/level-zero/issues/104
Expand Down
8 changes: 8 additions & 0 deletions source/adapters/level_zero/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,14 @@ template <> ze_structure_type_t getZeStructureType<ze_command_queue_desc_t>() {
template <> ze_structure_type_t getZeStructureType<ze_image_desc_t>() {
return ZE_STRUCTURE_TYPE_IMAGE_DESC;
}
template <>
ze_structure_type_t getZeStructureType<ze_image_bindless_exp_desc_t>() {
return ZE_STRUCTURE_TYPE_BINDLESS_IMAGE_EXP_DESC;
}
template <>
ze_structure_type_t getZeStructureType<ze_image_pitched_exp_desc_t>() {
return ZE_STRUCTURE_TYPE_PITCHED_IMAGE_EXP_DESC;
}
template <> ze_structure_type_t getZeStructureType<ze_module_desc_t>() {
return ZE_STRUCTURE_TYPE_MODULE_DESC;
}
Expand Down
Loading

0 comments on commit ded4b88

Please sign in to comment.