
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.



add_executable(catboost-cuda-targets-ut)
target_link_libraries(catboost-cuda-targets-ut PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  cpp-testing-unittest_main
  catboost-cuda-cuda_lib
  catboost-cuda-cuda_util
  catboost-cuda-targets
  catboost-cuda-ut_helpers
  catboost-libs-helpers
  catboost-libs-metrics
  library-cpp-accurate_accumulate
  library-cpp-float16
)
target_link_options(catboost-cuda-targets-ut PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
  -lcudadevrt
  -lculibos
  -lcudart_static
)
target_sources(catboost-cuda-targets-ut PRIVATE
  ${CMAKE_SOURCE_DIR}/catboost/cuda/targets/ut/test_auc.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/targets/ut/test_multi_logit.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/targets/ut/test_query_cross_entropy.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/targets/ut/test_combination.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/targets/ut/test_tweedie.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/targets/ut/test_huber.cpp
)
set_property(
  TARGET
  catboost-cuda-targets-ut
  PROPERTY
  SPLIT_FACTOR
  1
)
add_yunittest(
  NAME
  catboost-cuda-targets-ut
  TEST_TARGET
  catboost-cuda-targets-ut
  TEST_ARG
  --print-before-suite
  --print-before-test
  --fork-tests
  --print-times
  --show-fails
)
set_yunittest_property(
  TEST
  catboost-cuda-targets-ut
  PROPERTY
  LABELS
  MEDIUM
)
set_yunittest_property(
  TEST
  catboost-cuda-targets-ut
  PROPERTY
  PROCESSORS
  1
)
target_allocator(catboost-cuda-targets-ut
  system_allocator
)
vcs_info(catboost-cuda-targets-ut)
