Skip to content

Use SYCL_DEVICE_FILTER to simulate testing with only a specific type of device #362

Closed

Description

@PokhodenkoSA

@PokhodenkoSA @oleksandr-pavlyk We can use SYCL_DEVICE_FILTER (refer https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md) to simulate testing with only a specific type of device. Can we setup multiple CI runs where we explicitly select a specific type of device and turn off other types using the environment variable?

Originally posted by @diptorupd in #359 (comment)

Activity

  1. PokhodenkoSA commented on Apr 4, 2021

    @PokhodenkoSA
    ContributorAuthor

    Tests should run tests in 2 kind of environments:

    1. Run tests with all installed devices available. It helps test code on as much different devices as possible.
    2. Run tests when devices and platform are absent (possibly it is 2 different cases). In case devices and platform are present then test system should simulate absent of devices and platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions