This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,8 @@ if(CHECK_SYCL_ALL)
1919
2020 string (REPLACE "," "_" TARGET check-sycl-${TARGET_BE} -${TARGET_DEVICES} )
2121
22- set (TEST_DIR "." )
23- if (${TARGET_BE} MATCHES "esimd_emulator" )
24- set (TEST_DIR "./ESIMD/" )
25- endif ()
2622 add_custom_target (${TARGET}
27- COMMAND python3 ${TEST_SUITE_LIT} ${TEST_SUITE_LIT_FLAGS} --param sycl_be=${TARGET_BE} --param target_devices=${TARGET_DEVICES} ${TEST_DIR}
23+ COMMAND python3 ${TEST_SUITE_LIT} ${TEST_SUITE_LIT_FLAGS} --param sycl_be=${TARGET_BE} --param target_devices=${TARGET_DEVICES} .
2824 COMMENT "Running the SYCL tests for ${TARGET} backend"
2925 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
3026 DEPENDS ${TEST_SUITE_TARGETS}
Original file line number Diff line number Diff line change 209209 config .sycl_be +
210210 "'. Supported values are {}" .format (', ' .join (supported_sycl_be )))
211211
212+ # Run only tests in ESIMD subforlder for the ext_intel_esimd_emulator
213+ if config .sycl_be == 'ext_intel_esimd_emulator' :
214+ config .test_source_root += "/ESIMD"
215+ config .test_exec_root += "/ESIMD"
216+
212217# If HIP_PLATFORM flag is not set, default to AMD, and check if HIP platform is supported
213218supported_hip_platforms = ["AMD" , "NVIDIA" ]
214219if config .hip_platform == "" :
You can’t perform that action at this time.
0 commit comments