CMakeLists.txt 506 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
if(WITH_GPU)
  nv_test(
    gpu_timer_test
    SRCS gpu_timer_test.cu
    DEPS gtest)
  nv_test(
    auto_tune_test
    SRCS auto_tune_test.cu
    DEPS gtest)
elseif(WITH_ROCM)
  hip_test(
    gpu_timer_test
    SRCS gpu_timer_test.cu
    DEPS gtest)
  hip_test(
    auto_tune_test
    SRCS auto_tune_test.cu
    DEPS gtest)
Z
Zhang Ting 已提交
19
endif()
20

R
Ruibiao Chen 已提交
21
cc_library(cache SRCS cache.cc)
22 23 24 25
cc_library(
  switch_autotune
  SRCS switch_autotune.cc
  DEPS cache flags)
26

27 28 29 30
cc_test(
  cache_test
  SRCS cache_test.cc
  DEPS gtest cache)