
# 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(cuda_lib)
target_link_libraries(cuda_lib PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  cpp-testing-unittest
  catboost-cuda-cuda_lib
  catboost-cuda-cuda_util
)
target_link_options(cuda_lib PRIVATE
  -ldl
  -lrt
  -Wl,--no-as-needed
  -fPIC
  -fPIC
  -lpthread
  -lrt
  -ldl
  -lcudadevrt
  -lculibos
  -lcudart_static
)
target_sources(cuda_lib PRIVATE
  ${CMAKE_SOURCE_DIR}/catboost/cuda/mpi_ut/main.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/cuda_lib/ut/test_memory_pool.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/cuda_lib/ut/performance_tests.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/cuda_lib/ut/test_cuda_buffer.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/cuda_lib/ut/test_cuda_manager.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/cuda_lib/ut/test_reduce.cpp
  ${CMAKE_SOURCE_DIR}/catboost/cuda/cuda_lib/ut/test_serialization.cpp
)
target_allocator(cuda_lib
  system_allocator
)
vcs_info(cuda_lib)
