Skip to content

Commit 21c3b83

Browse files
committed
Link Vulkan backend with pybinding lib when built
ghstack-source-id: 9773513 ghstack-comment-id: 3177632519 Pull-Request: #13309
1 parent 994ab7c commit 21c3b83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,10 @@ if(EXECUTORCH_BUILD_PYBIND)
757757
list(APPEND _dep_libs openvino_backend)
758758
endif()
759759

760+
if(EXECUTORCH_BUILD_VULKAN)
761+
list(APPEND _dep_libs vulkan_backend)
762+
endif()
763+
760764
if(EXECUTORCH_BUILD_XNNPACK)
761765
# need to explicitly specify XNNPACK and xnnpack-microkernels-prod here
762766
# otherwise uses XNNPACK and microkernel-prod symbols from libtorch_cpu

0 commit comments

Comments
 (0)