mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-18 20:09:25 +00:00
This reverts commit b867c60ba22a824fb77e8e8422a7bbd70727ef1b.
[ROCm/composable_kernel commit: 6ea9257e9d]
18 lines
826 B
CMake
18 lines
826 B
CMake
add_custom_target(test_layernorm)
|
|
|
|
add_gtest_executable(test_layernorm2d_fp32 test_layernorm2d_fp32.cpp)
|
|
add_gtest_executable(test_layernorm2d_fp16 test_layernorm2d_fp16.cpp)
|
|
add_gtest_executable(test_groupnorm_fp16 test_groupnorm_fp16.cpp)
|
|
add_gtest_executable(test_groupnorm_fp32 test_groupnorm_fp32.cpp)
|
|
|
|
target_link_libraries(test_layernorm2d_fp32 PRIVATE utility)
|
|
target_link_libraries(test_layernorm2d_fp16 PRIVATE utility)
|
|
target_link_libraries(test_groupnorm_fp16 PRIVATE utility device_normalization_instance)
|
|
target_link_libraries(test_groupnorm_fp32 PRIVATE utility device_normalization_instance)
|
|
|
|
add_dependencies(test_layernorm test_layernorm2d_fp32)
|
|
add_dependencies(test_layernorm test_layernorm2d_fp16)
|
|
add_dependencies(test_layernorm test_groupnorm_fp16)
|
|
add_dependencies(test_layernorm test_groupnorm_fp32)
|
|
|