Skip to content

[SYCL] Add runtime support for device code argument elimination #2315

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

Merged
merged 6 commits into from
Aug 17, 2020

Conversation

sergey-semenov
Copy link
Contributor

Add support for the byte array type properties. Register the new kernel
parameter optimization properties while adding binary images in the
program manager. This information is then used while setting kernel
arguments to skip over the eliminated ones.

Signed-off-by: Sergey Semenov sergey.semenov@intel.com

Add support for the byte array type properties. Register the new kernel
parameter optimization properties while adding binary images in the
program manager. This information is then used while setting kernel
arguments to skip over the eliminated ones.

Signed-off-by: Sergey Semenov <sergey.semenov@intel.com>
@sergey-semenov
Copy link
Contributor Author

TBD: add tests

Signed-off-by: Sergey Semenov <sergey.semenov@intel.com>
Signed-off-by: Sergey Semenov <sergey.semenov@intel.com>
* replace unsigned char with std::uint8_t
* replace the use of vector with a custom wrapper to avoid unnecessary
copying
* remove inappropriate use of CHAR_BIT
* add some TODO's for potential improvements
* fix a test case by allowing unset arguments (as long as they are set
on the user side)

Signed-off-by: Sergey Semenov <sergey.semenov@intel.com>
Signed-off-by: Sergey Semenov <sergey.semenov@intel.com>
Signed-off-by: Sergey Semenov <sergey.semenov@intel.com>
@bader bader requested a review from kbobrovs August 17, 2020 13:13
@romanovvlad romanovvlad dismissed kbobrovs’s stale review August 17, 2020 17:03

The comments are resolved. Feel free to write more comments, we will resolved them in a separate PR.

@bader bader merged commit 63ac3d3 into intel:sycl Aug 17, 2020
jsji pushed a commit that referenced this pull request Feb 1, 2024
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
[SYCL] Add -foffload-fp32-prec-[div/sqrt] FE option handling in JIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants