CMakeLists.txt 707 Bytes
Newer Older
1
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
Przemek Tredak's avatar
Przemek Tredak committed
2
3
4
#
# See LICENSE for license information.

Tim Moon's avatar
Tim Moon committed
5
6
7
8
9
10
11
12
add_executable(test_operator
               test_qdq.cu
               test_cast_transpose.cu
               test_transpose.cu
               test_cast_transpose_dbias.cu
               test_cast_transpose_dbias_dgelu.cu
               test_gelu.cu
               test_layernorm.cu
zlsh80826's avatar
zlsh80826 committed
13
               test_rmsnorm.cu
Tim Moon's avatar
Tim Moon committed
14
15
               test_multi_cast_transpose.cu
               ../test_common.cu)
Przemek Tredak's avatar
Przemek Tredak committed
16
17

target_link_libraries(test_operator PUBLIC CUDA::cudart GTest::gtest_main ${TE_LIB})
zlsh80826's avatar
zlsh80826 committed
18
target_compile_options(test_operator PRIVATE -O2)
Przemek Tredak's avatar
Przemek Tredak committed
19
20
21

include(GoogleTest)
gtest_discover_tests(test_operator)