Skip to content

Commit c823753

Browse files
IvanKobzarevfacebook-github-bot
authored andcommitted
[vulkan] Fix Bazel build, add aten/native/vulkan/stub/*.cpp (pytorch#39018)
Summary: Pull Request resolved: pytorch#39018 Differential Revision: D21724853 Pulled By: IvanKobzarev fbshipit-source-id: 8d5bbc914b168da7d27c5447d625a9cfce61127f
1 parent fc4dfbf commit c823753

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

BUILD.bazel

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ filegroup(
292292
srcs = glob(["aten/src/ATen/native/xnnpack/*.cpp"]),
293293
)
294294

295+
filegroup(
296+
name = "aten_native_vulkan_stub",
297+
srcs = glob(["aten/src/ATen/native/vulkan/stub/*.cpp"]),
298+
)
299+
295300
filegroup(
296301
name = "ATen_QUANTIZED_SRCS",
297302
srcs = glob(
@@ -641,6 +646,7 @@ cc_library(
641646
":aten_native_quantized_cpp",
642647
":aten_native_sparse_cpp",
643648
":aten_native_xnnpack",
649+
":aten_native_vulkan_stub",
644650
":aten_src_ATen_config",
645651
":generated_cpp",
646652
],

0 commit comments

Comments
 (0)