Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Conversation

@raaiq1
Copy link

@raaiq1 raaiq1 commented Oct 27, 2022

-Modified tests and config to use ONEAPI_DEVICE_SELECTOR instead of SYCL_DEVICE_FILTER
-Added to test to check for warning message when using setting SYCL_DEVICE_FILTER environment variable

@raaiq1 raaiq1 marked this pull request as ready for review October 27, 2022 23:00
@raaiq1 raaiq1 requested review from a team, kbobrovs and rolandschulz as code owners October 27, 2022 23:00
@raaiq1 raaiq1 requested a review from bso-intel October 27, 2022 23:00
Copy link

@kbobrovs kbobrovs left a comment

Choose a reason for hiding this comment

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

InvokeSimd part LGTM

@raaiq1
Copy link
Author

raaiq1 commented Oct 28, 2022

/verify with intel/llvm#7207

Signed-off-by: Rauf, Rana <[email protected]>
@raaiq1
Copy link
Author

raaiq1 commented Nov 4, 2022

Failure SYCL :: KernelAndProgram/kernel-bundle-merge-options-env.cpp is seen in other PRs

@raaiq1
Copy link
Author

raaiq1 commented Nov 4, 2022

Ping to @intel/llvm-reviewers-runtime , @intel/dpcpp-l0-pi-reviewers or @intel/dpcpp-tools-reviewers for review

// RUN: env ONEAPI_DEVICE_SELECTOR="*:cpu" %t.out
// RUN: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu %t.out
// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %t.out
// RUN: env ONEAPI_DEVICE_SELECTOR='*:cpu;level_zero:gpu' %t.out

Choose a reason for hiding this comment

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

Is there some logic behind when ' is used and when " is used?

Copy link
Author

@raaiq1 raaiq1 Nov 8, 2022

Choose a reason for hiding this comment

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

There's functionally no difference between ' and ". Sorry for the inconsistent usage of between the two

Choose a reason for hiding this comment

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

Not a big problem so I am fine with it as-is.

Copy link

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

LGTM!

@againull againull merged commit de9a209 into intel:intel Nov 8, 2022
@steffenlarsen
Copy link

@raaiq1 - Regression/device_num.cpp is failing in a number of CI configurations after this change. See for example https://github.com/intel/llvm/actions/runs/3427185876/jobs/5710263986.

@raaiq1
Copy link
Author

raaiq1 commented Nov 9, 2022

Hi. The regression is caused by ONEAPI_DEVICE_SELECTOR implicitly allowing ESIMD backend even though it shouldn't. There's a patch for it here: intel/llvm#7336

@raaiq1 raaiq1 deleted the oneapi_selector branch November 9, 2022 17:20
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
…1354)

-Modified tests and config to use ONEAPI_DEVICE_SELECTOR instead of SYCL_DEVICE_FILTER
-Added to test to check for warning message when using setting SYCL_DEVICE_FILTER environment variable
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…llvm-test-suite#1354)

-Modified tests and config to use ONEAPI_DEVICE_SELECTOR instead of SYCL_DEVICE_FILTER
-Added to test to check for warning message when using setting SYCL_DEVICE_FILTER environment variable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants