Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel_ROCM
Commits
a8b9caf1
"...composable_kernel_rocm.git" did not exist on "2467387183cf8114f4985c7f46f14c97a1e40005"
Commit
a8b9caf1
authored
Oct 30, 2024
by
Andriy Roshchenko
Browse files
Add custom target for grouped_convnd_bwd_weight tests.
parent
2ddab565
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
test/grouped_convnd_bwd_weight/CMakeLists.txt
test/grouped_convnd_bwd_weight/CMakeLists.txt
+7
-0
No files found.
test/grouped_convnd_bwd_weight/CMakeLists.txt
View file @
a8b9caf1
add_custom_target
(
test_grouped_convnd_bwd_weight_target
)
if
(
GPU_TARGETS MATCHES
"gfx9"
OR DL_KERNELS
)
if
(
GPU_TARGETS MATCHES
"gfx9"
OR DL_KERNELS
)
add_gtest_executable
(
test_grouped_convnd_bwd_weight test_grouped_convnd_bwd_weight.cpp
)
add_gtest_executable
(
test_grouped_convnd_bwd_weight test_grouped_convnd_bwd_weight.cpp
)
target_link_libraries
(
test_grouped_convnd_bwd_weight PRIVATE utility device_grouped_conv1d_bwd_weight_instance device_grouped_conv2d_bwd_weight_instance device_grouped_conv3d_bwd_weight_instance
)
target_link_libraries
(
test_grouped_convnd_bwd_weight PRIVATE utility device_grouped_conv1d_bwd_weight_instance device_grouped_conv2d_bwd_weight_instance device_grouped_conv3d_bwd_weight_instance
)
add_dependencies
(
test_grouped_convnd_bwd_weight_target test_grouped_convnd_bwd_weight
)
elseif
(
GPU_TARGETS MATCHES
"gfx11"
)
elseif
(
GPU_TARGETS MATCHES
"gfx11"
)
add_gtest_executable
(
test_grouped_convnd_bwd_weight test_grouped_convnd_bwd_weight.cpp
)
add_gtest_executable
(
test_grouped_convnd_bwd_weight test_grouped_convnd_bwd_weight.cpp
)
target_link_libraries
(
test_grouped_convnd_bwd_weight PRIVATE utility device_grouped_conv3d_bwd_weight_instance
)
target_link_libraries
(
test_grouped_convnd_bwd_weight PRIVATE utility device_grouped_conv3d_bwd_weight_instance
)
add_dependencies
(
test_grouped_convnd_bwd_weight_target test_grouped_convnd_bwd_weight
)
endif
()
endif
()
add_gtest_executable
(
test_grouped_convnd_bwd_weight_interface_xdl test_grouped_convnd_bwd_weight_interface_xdl.cpp
)
add_gtest_executable
(
test_grouped_convnd_bwd_weight_interface_xdl test_grouped_convnd_bwd_weight_interface_xdl.cpp
)
if
(
result EQUAL 0
)
if
(
result EQUAL 0
)
target_link_libraries
(
test_grouped_convnd_bwd_weight_interface_xdl PRIVATE utility
)
target_link_libraries
(
test_grouped_convnd_bwd_weight_interface_xdl PRIVATE utility
)
add_dependencies
(
test_grouped_convnd_bwd_weight_target test_grouped_convnd_bwd_weight_interface_xdl
)
endif
()
endif
()
add_gtest_executable
(
test_grouped_convnd_bwd_weight_interface_wmma test_grouped_convnd_bwd_weight_interface_wmma.cpp
)
add_gtest_executable
(
test_grouped_convnd_bwd_weight_interface_wmma test_grouped_convnd_bwd_weight_interface_wmma.cpp
)
if
(
result EQUAL 0
)
if
(
result EQUAL 0
)
target_link_libraries
(
test_grouped_convnd_bwd_weight_interface_wmma PRIVATE utility
)
target_link_libraries
(
test_grouped_convnd_bwd_weight_interface_wmma PRIVATE utility
)
add_dependencies
(
test_grouped_convnd_bwd_weight_target test_grouped_convnd_bwd_weight_interface_wmma
)
endif
()
endif
()
add_gtest_executable
(
test_grouped_conv_bwd_weight_xdl_bilinear test_grouped_conv_bwd_weight_xdl_bilinear.cpp
)
add_gtest_executable
(
test_grouped_conv_bwd_weight_xdl_bilinear test_grouped_conv_bwd_weight_xdl_bilinear.cpp
)
if
(
result EQUAL 0
)
if
(
result EQUAL 0
)
target_link_libraries
(
test_grouped_conv_bwd_weight_xdl_bilinear PRIVATE utility device_grouped_conv3d_bwd_weight_bilinear_instance
)
target_link_libraries
(
test_grouped_conv_bwd_weight_xdl_bilinear PRIVATE utility device_grouped_conv3d_bwd_weight_bilinear_instance
)
add_dependencies
(
test_grouped_convnd_bwd_weight_target test_grouped_conv_bwd_weight_xdl_bilinear
)
endif
()
endif
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment