This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from b299ece341 [LINT] Fix clang-format script for newest clang-format
(#14799)
add 182de86b2c [OpenCL] Refactor OpenCL runtime to support SPIRV binary
ingestion (#14792)
add 440aae25fb [Testing] Use TVMScript's "name" argument for error
messages (#14808)
No new revisions were added by this update.
Summary of changes:
cmake/modules/OpenCL.cmake | 1 +
cmake/modules/Vulkan.cmake | 1 +
python/tvm/testing/utils.py | 17 +--
src/runtime/opencl/opencl_common.h | 60 +++++----
src/runtime/opencl/opencl_module.cc | 36 +++---
src/runtime/opencl/opencl_module.h | 14 ++-
src/runtime/opencl/opencl_module_spirv.cc | 137 +++++++++++++++++++++
.../vulkan_shader.h => spirv/spirv_shader.h} | 16 +--
src/runtime/vulkan/vulkan_module.cc | 6 +-
src/runtime/vulkan/vulkan_module.h | 4 +-
src/runtime/vulkan/vulkan_wrapped_func.h | 6 +-
src/target/opt/build_opencl_off.cc | 7 ++
src/target/source/codegen_opencl.cc | 9 ++
src/target/spirv/build_vulkan.cc | 134 +-------------------
src/target/spirv/codegen_spirv.cc | 5 +-
src/target/spirv/codegen_spirv.h | 6 +-
src/target/spirv/spirv_support.cc | 5 +-
.../spirv/{build_vulkan.cc => spirv_utils.cc} | 64 ++++++----
.../{source/codegen_vhls.h => spirv/spirv_utils.h} | 40 +++---
19 files changed, 319 insertions(+), 249 deletions(-)
create mode 100644 src/runtime/opencl/opencl_module_spirv.cc
rename src/runtime/{vulkan/vulkan_shader.h => spirv/spirv_shader.h} (82%)
copy src/target/spirv/{build_vulkan.cc => spirv_utils.cc} (79%)
copy src/target/{source/codegen_vhls.h => spirv/spirv_utils.h} (59%)