-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][COMPAT] SYCLcompat dim and defs headers #9976
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Documentation available in a different PR: #9646 |
a6808ed
to
0bcf97c
Compare
2b290d9
to
cf4388e
Compare
Should we add a dedicated owner in |
@aelovikov-intel I've added |
Why not an entry in https://github.com/intel/llvm/blob/sycl/.github/CODEOWNERS? |
Good point, that is actually better. I will update that once we have a review group set up. |
We have requested for the |
81acc0e
to
8f00fb0
Compare
@aelovikov-intel the entry in the CODEOWNERS file has been merged. |
Co-Authored-By: Gordon Brown <gordon@codeplay.com> Co-Authored-By: Joe Todd <joe.todd@codeplay.com> Co-Authored-By: Pietro Ghiglio <pietro.ghiglio@codeplay.com> Co-Authored-By: Ruyman Reyes <ruyman@codeplay.com>
Co-authored-by: tomflinda <tomflinda@gmail.com>
7bd264b
to
58fa573
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We're not really sure why @intel/dpcpp-doc-reviewers was requested for a review (possibly due to link with this PR). Could someone have a quick look? Thanks! |
The PR has all required approvals, waiting for CI completion to be able to merge. |
58fa573
to
3310dad
Compare
This pull request introduces a new stand alone library, `SYCLcompat`: a simplified wrapper on top of SYCL, aiming to make it more accessible to developers familiar with other heterogeneous programming models. SYCLcompat has two primary goals: - Improve the adoption of SYCL. This library is designed to provide a familiar programming interface that resembles other popular heterogeneous programming models. By reducing the learning curve, it enables developers to leverage SYCL's power and features more easily. - Source-to-Source Translation Support. SYCLcompat is also designed to facilitate automatic source-to-source translation from other heterogeneous programming models to SYCL and offer a more standardized and consistent programming interface. This feature can significantly streamline the migration and integration of existing codebases into the SYCL ecosystem. The first commit of this PR includes the proposed library README, providing explanation of its motivation, public interface, usage guidelines, and code examples. A set of PRs will follow, including subsets of the current implementation including their tests. We are open to any suggestions, concerns, or improvements you may have, so please, let us know if you have any. Edit: Updated from extension to stand alone library. #9976 `dims.hpp` and `defs.hpp` headers --------- Co-authored-by: Gordon Brown <gordon@codeplay.com> Co-authored-by: Joe Todd <joe.todd@codeplay.com> Co-authored-by: Pietro Ghiglio <pietro.ghiglio@codeplay.com> Co-authored-by: Ruyman Reyes <ruyman@codeplay.com> Co-authored-by: Steffen Larsen <steffen.larsen@intel.com> Co-authored-by: aelovikov-intel <andrei.elovikov@intel.com> Co-authored-by: Sami Hatna <sami.hatna@codeplay.com> Co-authored-by: Joe Todd <joeatodd@users.noreply.github.com> Co-authored-by: Alexey Bader <alexey.bader@intel.com>
@intel/llvm-gatekeepers CI is finally passing. We think it's ready to merge. Thanks! |
This commit reverts the changes introduced in intel#9976 to sycl/unittests. It also removes the gtest suite from syclcompat Rationale: We need device code to test the following syclcompat PRs. Changes: - Removed sycl/cmake/modules/AddSYCLLibraryUnittest.cmake as it was only used here, this has also introduced overhead to people working in the Unittests CI, it is better for them to remove the need to maintain this. - Reverted syclcompat changes in sycl/unittests/CMakeLists.txt - Refactored sycl/unittests/syclcompat to sycl/test-e2e/syclcompat
This pull request introduces a new stand alone library, `SYCLcompat`: a simplified wrapper on top of SYCL, aiming to make it more accessible to developers familiar with other heterogeneous programming models. SYCLcompat has two primary goals: - Improve the adoption of SYCL. This library is designed to provide a familiar programming interface that resembles other popular heterogeneous programming models. By reducing the learning curve, it enables developers to leverage SYCL's power and features more easily. - Source-to-Source Translation Support. SYCLcompat is also designed to facilitate automatic source-to-source translation from other heterogeneous programming models to SYCL and offer a more standardized and consistent programming interface. This feature can significantly streamline the migration and integration of existing codebases into the SYCL ecosystem. The first commit of this PR includes the proposed library README, providing explanation of its motivation, public interface, usage guidelines, and code examples. A set of PRs will follow, including subsets of the current implementation including their tests. We are open to any suggestions, concerns, or improvements you may have, so please, let us know if you have any. Edit: Updated from extension to stand alone library. intel#9976 `dims.hpp` and `defs.hpp` headers --------- Co-authored-by: Gordon Brown <gordon@codeplay.com> Co-authored-by: Joe Todd <joe.todd@codeplay.com> Co-authored-by: Pietro Ghiglio <pietro.ghiglio@codeplay.com> Co-authored-by: Ruyman Reyes <ruyman@codeplay.com> Co-authored-by: Steffen Larsen <steffen.larsen@intel.com> Co-authored-by: aelovikov-intel <andrei.elovikov@intel.com> Co-authored-by: Sami Hatna <sami.hatna@codeplay.com> Co-authored-by: Joe Todd <joeatodd@users.noreply.github.com> Co-authored-by: Alexey Bader <alexey.bader@intel.com>
This is an implementation of SYCLcompat, the stand alone library proposed in intel#9646. Please, find the documentation there. SYCLcompat has two primary goals: - Improve the adoption of SYCL. This library is designed to provide a familiar programming interface that resembles other popular heterogeneous programming models. By reducing the learning curve, it enables developers to leverage SYCL's power and features more easily. - Source-to-Source Translation Support. SYCLcompat is also designed to facilitate automatic source-to-source translation from other heterogeneous programming models to SYCL and offer a more standardized and consistent programming interface. This feature can significantly streamline the migration and integration of existing codebases into the SYCL ecosystem The PR also includes tests. We were advised to include the tests as part of `sycl/unittests`, so we added a different mechanism to build them using `clang`. As we stated in the docs PR, we are open to any suggestions, concerns, or improvements you may have, so please, let us know if you have any. --------- Co-authored-by: Gordon Brown <gordon@codeplay.com> Co-authored-by: Joe Todd <joe.todd@codeplay.com> Co-authored-by: Pietro Ghiglio <pietro.ghiglio@codeplay.com> Co-authored-by: Ruyman Reyes <ruyman@codeplay.com> Co-authored-by: tomflinda <tomflinda@gmail.com>
This is an implementation of SYCLcompat, the stand alone library proposed in #9646.
Please, find the documentation there.
SYCLcompat has two primary goals:
The PR also includes tests. We were advised to include the tests as part of
sycl/unittests
, so we added a different mechanism to build them usingclang
.As we stated in the docs PR, we are open to any suggestions, concerns, or improvements you may have, so please, let us know if you have any.