CMakeLists.txt 535 字节
Newer Older
1 2 3 4 5 6 7
# file(GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "test_*.py")
# string(REPLACE ".py" "" TEST_OPS "${TEST_OPS}")

if(WITH_DISTRIBUTE AND WITH_GPU)

  # NOTE(zyl): unittests WITH single card and WITHOUT timeout
  py_test_modules(test_matmul_rule MODULES test_matmul_rule)
8 9 10
  py_test_modules(test_matmul_rule MODULES test_embedding_rule)
  py_test_modules(test_matmul_rule MODULES test_replicated_rule)
  py_test_modules(test_matmul_rule MODULES test_softmax_rule)
11 12 13
  # End of unittests WITH single card WITHOUT timeout

endif()