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

[SYCL] Update tests to use local_accessor #1063

Merged
merged 4 commits into from
Sep 2, 2022

Conversation

AidanBeltonS
Copy link

@AidanBeltonS AidanBeltonS commented Jun 22, 2022

This PR updates tests that use target::local to local_accessor. In all cases the change should not functionally change the test. The goal is to move from the deprecated target::local accessor to local_accessor.

Depends on: intel/llvm#6341

steffenlarsen
steffenlarsen previously approved these changes Aug 12, 2022
steffenlarsen pushed a commit to intel/llvm that referenced this pull request Aug 25, 2022
This PR creates the `local_accessor` class by aliasing the accessor class with `target::local`. 
The motivation behind this is that `target::local` has been deprecated in favour of `local_accessor` in SYCL2020. 
The approach of aliasing is taken as the spec states that local_access has the same semantics and restrictions as accessor with target::local.

Related issue: #4713
llvm-test-suite: intel/llvm-test-suite#1063
@steffenlarsen
Copy link

@AidanBeltonS - Could you please resolve conflicts?

@steffenlarsen
Copy link

Failures are likely due prebuilt intel/llvm being used from before the changes were merged. Should be resolved by rerunning the tests later.

@AidanBeltonS
Copy link
Author

Failures are likely due prebuilt intel/llvm being used from before the changes were merged. Should be resolved by rerunning the tests later.

Would it be possible to rerun the tests now and see if they pass?

@steffenlarsen
Copy link

Reran tests. Looks like there are some potentially related failures in pre-ci-linux. pre-ci-windows currently has a series of failures we are working on fixing so please disregard that for now.

@AidanBeltonS
Copy link
Author

Reran tests. Looks like there are some potentially related failures in pre-ci-linux. pre-ci-windows currently has a series of failures we are working on fixing so please disregard that for now.

I have fixed the linux ci issues. Windows is still failing I think due to unrelated problems

@steffenlarsen steffenlarsen merged commit ccef0d4 into intel:intel Sep 2, 2022
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
This PR updates tests that use `target::local` to local_accessor. In all cases the change should not functionally change the test. The goal is to move from the deprecated `target::local` accessor to `local_accessor`.

Depends on: intel/llvm#6341
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
This PR updates tests that use `target::local` to local_accessor. In all cases the change should not functionally change the test. The goal is to move from the deprecated `target::local` accessor to `local_accessor`.

Depends on: intel#6341
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.

2 participants