Skip to content

Commit fd1567a

Browse files
SS-JIAagrima1304
authored andcommitted
[ez] Optionally link vulkan backend to devtools example runner (pytorch#13293)
Summary: Title says it all! cc @manuelcandales @cbilgin
1 parent 8867850 commit fd1567a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/devtools/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ target_link_libraries(
6565
portable_kernels
6666
)
6767

68+
if(EXECUTORCH_BUILD_VULKAN)
69+
target_link_libraries(example_runner vulkan_backend)
70+
endif()
71+
6872
if(EXECUTORCH_BUILD_COREML)
6973
find_library(ACCELERATE_FRAMEWORK Accelerate)
7074
find_library(COREML_FRAMEWORK CoreML)

0 commit comments

Comments
 (0)