File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,19 @@ configure_lit_site_cfg(
44
44
${CMAKE_CURRENT_SOURCE_DIR} /lit.cfg.py
45
45
)
46
46
47
- add_lit_testsuite (check-imex "Running the IMEX regression tests"
47
+ # limit number of workers for lit test when gpu test is enabled
48
+ if (IMEX_ENABLE_L0_RUNTIME OR IMEX_ENABLE_SYCL_RUNTIME OR IMEX_ENABLE_VULKAN_RUNNER )
49
+ add_lit_testsuite (check-imex "Running the IMEX regression tests"
48
50
${CMAKE_CURRENT_BINARY_DIR}
49
51
DEPENDS ${IMEX_TEST_DEPENDS}
52
+ ARGS "--workers=1"
50
53
)
54
+ else ()
55
+ add_lit_testsuite (check-imex "Running the IMEX regression tests"
56
+ ${CMAKE_CURRENT_BINARY_DIR}
57
+ DEPENDS ${IMEX_TEST_DEPENDS}
58
+ )
59
+ endif ()
51
60
set_target_properties (check-imex PROPERTIES FOLDER "Tests" )
52
61
53
62
add_lit_testsuite (check-ptensor "Running the IMEX/ptensor regression tests"
You can’t perform that action at this time.
0 commit comments