CMakeLists.txt 433 字节
Newer Older
1 2 3 4
cc_test(phi_test_backend SRCS test_backend.cc DEPS gtest)
cc_test(phi_test_data_layout SRCS test_data_layout.cc DEPS gtest)
cc_test(phi_test_data_type SRCS test_data_type.cc DEPS gtest)
cc_test(phi_test_place SRCS test_place.cc DEPS phi_place)
5 6 7 8 9 10
if (WITH_GPU)
    nv_test(phi_test_scalar SRCS test_scalar.cu DEPS scalar api_scalar)
endif()
if(WITH_ROCM)
    hip_test(phi_test_scalar SRCS test_scalar.cu DEPS scalar api_scalar)
endif()