Skip to content

Commit ee4b173

Browse files
authored
[ET-VK][custom_ops] Standardize binary filenames to test_*.cpp
Differential Revision: D105059945 Pull Request resolved: #19571
1 parent 0d3c455 commit ee4b173

8 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/pull.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,11 +1489,11 @@ jobs:
14891489
.ci/scripts/setup-linux.sh --build-tool "cmake"
14901490
14911491
# Custom operator tests
1492-
PYTHON_EXECUTABLE=python bash backends/vulkan/test/custom_ops/build_and_run.sh add
1493-
./cmake-out/backends/vulkan/test/custom_ops/q8csw_linear
1494-
./cmake-out/backends/vulkan/test/custom_ops/q8csw_conv2d
1495-
./cmake-out/backends/vulkan/test/custom_ops/q4gsw_linear
1496-
./cmake-out/backends/vulkan/test/custom_ops/choose_qparams_per_row
1492+
PYTHON_EXECUTABLE=python bash backends/vulkan/test/custom_ops/build_and_run.sh test_add
1493+
./cmake-out/backends/vulkan/test/custom_ops/test_q8csw_linear
1494+
./cmake-out/backends/vulkan/test/custom_ops/test_q8csw_conv2d
1495+
./cmake-out/backends/vulkan/test/custom_ops/test_q4gsw_linear
1496+
./cmake-out/backends/vulkan/test/custom_ops/test_choose_qparams_per_row
14971497
./cmake-out/backends/vulkan/test/custom_ops/test_q8ta_qdq
14981498
./cmake-out/backends/vulkan/test/custom_ops/test_q8ta_clone
14991499
./cmake-out/backends/vulkan/test/custom_ops/test_q8ta_binary

backends/vulkan/test/custom_ops/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ if(TARGET vulkan_backend)
9494
endfunction()
9595

9696
# Define operator prototypes
97-
add_operator_prototype(add)
98-
add_operator_prototype(q8csw_linear)
99-
add_operator_prototype(q8csw_conv2d)
100-
add_operator_prototype(q4gsw_linear)
101-
add_operator_prototype(choose_qparams_per_row)
97+
add_operator_prototype(test_add)
98+
add_operator_prototype(test_q8csw_linear)
99+
add_operator_prototype(test_q8csw_conv2d)
100+
add_operator_prototype(test_q4gsw_linear)
101+
add_operator_prototype(test_choose_qparams_per_row)
102102
add_operator_prototype(test_q8ta_qdq)
103103
add_operator_prototype(test_q8ta_clone)
104104
add_operator_prototype(test_q8ta_binary)

backends/vulkan/test/custom_ops/targets.bzl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ def define_common_targets(is_fbcode = False):
8585
link_whole = True,
8686
)
8787

88-
define_custom_op_test_binary("add")
89-
define_custom_op_test_binary("q8csw_linear")
90-
define_custom_op_test_binary("q8csw_conv2d")
91-
define_custom_op_test_binary("choose_qparams_per_row")
92-
define_custom_op_test_binary("q4gsw_linear")
88+
define_custom_op_test_binary("test_add")
89+
define_custom_op_test_binary("test_q8csw_linear")
90+
define_custom_op_test_binary("test_q8csw_conv2d")
91+
define_custom_op_test_binary("test_choose_qparams_per_row")
92+
define_custom_op_test_binary("test_q4gsw_linear")
9393
define_custom_op_test_binary("test_q8ta_qdq")
9494
define_custom_op_test_binary("test_q8ta_clone")
9595
define_custom_op_test_binary("test_q8ta_binary")
@@ -99,6 +99,7 @@ def define_common_targets(is_fbcode = False):
9999
define_custom_op_test_binary("test_q8ta_linear")
100100
define_custom_op_test_binary("test_q8ta_conv2d_transposed")
101101
define_custom_op_test_binary("test_q8ta_pixel_shuffle")
102+
define_custom_op_test_binary("test_q8ta_unary")
102103
define_custom_op_test_binary("test_mm")
103104
define_custom_op_test_binary("test_conv2d_pw")
104105
define_custom_op_test_binary("test_conv2d_dw")
File renamed without changes.

backends/vulkan/test/custom_ops/choose_qparams_per_row.cpp renamed to backends/vulkan/test/custom_ops/test_choose_qparams_per_row.cpp

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)