-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL][NATIVECPU] Add device library and initial subgroup support (#1…
…3979) This PR implements SYCL NativeCPU runtime functions as C++ functions in a new native_cpu device library instead of materializing them by LLVM passes. This library also contains native_cpu implementations for many SYCL builtins, including for subgroup support. The PR will make at least the following e2e tests pass: ``` SubGroup/barrier.cpp SubGroup/broadcast.cpp SubGroup/broadcast_fp64.cpp SubGroup/common.cpp SubGroup/generic-shuffle.cpp SubGroup/shuffle_fp64.cpp SubGroup/sub_group_as.cpp SubGroup/sub_group_as_vec.cpp SubGroup/sub_group_by_value_semantics.cpp SubGroup/sub_groups_sycl2020.cpp ``` Other tests are currently skipped as the NativeCPU UR adapter does not yet report the new capabilities, which will be updated in a subsequent PR. --------- Co-authored-by: pietro.ghiglio <pietro.ghiglio@codeplay.com>
- Loading branch information
1 parent
00b9b6d
commit 17ee3e2
Showing
15 changed files
with
651 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.