Skip to content

Commit e58993b

Browse files
authored
Put back restrictive LIT args for GPU runs (#746)
1 parent 548b2fe commit e58993b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ message(STATUS "LLVM_DEFINITIONS: ${LLVM_DEFINITIONS}")
268268
add_definitions(${LLVM_DEFINITIONS})
269269

270270
set(LLVM_LIT_ARGS "-sv" CACHE STRING "lit default options")
271+
if (IMEX_ENABLE_SYCL_RUNTIME OR IMEX_ENABLE_L0_RUNTIME)
272+
set(LLVM_LIT_ARGS "-j 4 ${LLVM_LIT_ARGS}") # do not stress GPU
273+
endif()
271274

272275
set(IMEX_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
273276
# LLVM_EXTERNAL_PROJECTS build puts library, executables and tools in LLVM's CMAKE_BINARY_DIR

0 commit comments

Comments
 (0)