Commit 8edc6f0
[ET-VK][ez] Fix
Summary:
## Changes
First, small update to `vulkan_schema` interface in the
`CMakeLists.txt`, which fixes a build error like:
```
CMake Error in backends/vulkan/CMakeLists.txt:
Target "vulkan_schema" INTERFACE_INCLUDE_DIRECTORIES property contains
path:
"/pytorch/executorch/pip-out/temp.linux-x86_64-cpython-310/cmake-out/schema/include"
which is prefixed in the build directory.
```
Then, make the pybindings link against to the vulkan backend if it is
built. This allows model testing through Python via
`_load_for_executorch_from_buffer`.
Test Plan:
CI
cc @manuelcandales @cbilgin
---------
Co-authored-by: ssjia <[email protected]>vulkan_schema interface and link Vulkan to pybindings (pytorch#13327)1 parent aa51149 commit 8edc6f0
File tree
3 files changed
+5
-2
lines changed- backends/vulkan
- runtime
3 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
766 | 770 | | |
767 | 771 | | |
768 | 772 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
1086 | | - | |
1087 | 1086 | | |
1088 | 1087 | | |
1089 | 1088 | | |
| |||
0 commit comments