Skip to content

Conversation

@vladimirlaz
Copy link
Contributor

Tests which do not require backend were run for every target backend. It
is waste of machine time. This PR:

  • move device-agnostic tests to separate target to run only once;
  • moved all device-specific LIT substitutions to on-device folder to
    avoid adding device-dependent tests to directory with
    device-agnostic tests;
  • move device-dependent tests to sycl/test/on-device folder.

Tests which do not require backend were run for every target backend. It
is waste of machine time. This PR:
 - move device-agnostic tests to separate target to run only once;
 - moved all device-specific LIT substitutions to on-device folder to
   avoid adding device-dependent tests to directory with
   device-agnostic tests;
 - move device-dependent tests to sycl/test/on-device folder.
@vladimirlaz vladimirlaz requested a review from a team as a code owner December 21, 2020 13:40
Copy link
Contributor

@sergey-semenov sergey-semenov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me aside from a minor comment

@vladimirlaz vladimirlaz merged commit f1ab47c into intel:sycl Dec 22, 2020
if(SYCL_BUILD_PI_CUDA)
add_lit_testsuite(check-sycl-cuda "Running the SYCL regression tests for CUDA"
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/on-device
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, move "on-device" tests logic to on-device/CMakeLists.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants