-
Notifications
You must be signed in to change notification settings - Fork 738
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
[NFCI][SYCL] Introduce convertToOpenCLType helper #12674
Merged
aelovikov-intel
merged 5 commits into
intel:sycl
from
aelovikov-intel:convert-to-ocl-helper
Feb 12, 2024
Merged
[NFCI][SYCL] Introduce convertToOpenCLType helper #12674
aelovikov-intel
merged 5 commits into
intel:sycl
from
aelovikov-intel:convert-to-ocl-helper
Feb 12, 2024
Conversation
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 is probably just the first patch in a series of refactoring PRs I'm envisioning. Ultimate goal is to align this helper and `sycl::detail::builtins::convert_arg` from `builtins_preview.hpp`, possible with the latter delegating to the former.
aelovikov-intel
commented
Feb 9, 2024
#define __SYCL_EXTERN_IT3(Ret, prefix, call, Arg1, Arg2, Arg3) | ||
#else | ||
#define __FUNC_PREFIX_OCL sycl_host_ | ||
#define __FUNC_PREFIX_CORE sycl_host_ | ||
#define __SYCL_EXTERN_IT1(Ret, prefix, call, Arg) \ | ||
#define __SYCL_EXTERN_IT1(Ret, prefix, call, arg) \ | ||
using Arg = decltype(arg); \ |
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.
Had to move those aliases here to avoid "unused type alias" warning/error for device compilation.
✅ With the latest revision this PR passed the C/C++ code formatter. |
aelovikov-intel
had a problem deploying
to
WindowsCILock
February 9, 2024 00:39
— with
GitHub Actions
Error
aelovikov-intel
temporarily deployed
to
WindowsCILock
February 9, 2024 00:48
— with
GitHub Actions
Inactive
aelovikov-intel
had a problem deploying
to
WindowsCILock
February 9, 2024 02:12
— with
GitHub Actions
Failure
aelovikov-intel
had a problem deploying
to
WindowsCILock
February 9, 2024 19:26
— with
GitHub Actions
Error
aelovikov-intel
had a problem deploying
to
WindowsCILock
February 9, 2024 19:43
— with
GitHub Actions
Error
aelovikov-intel
temporarily deployed
to
WindowsCILock
February 9, 2024 20:28
— with
GitHub Actions
Inactive
aelovikov-intel
temporarily deployed
to
WindowsCILock
February 9, 2024 21:46
— with
GitHub Actions
Inactive
againull
approved these changes
Feb 12, 2024
aelovikov-intel
added a commit
to aelovikov-intel/llvm
that referenced
this pull request
Feb 12, 2024
Continuation of refactoring series initiated in intel#12674.
aelovikov-intel
added a commit
to aelovikov-intel/llvm
that referenced
this pull request
Feb 12, 2024
Follow-up for intel#12674, updating places where `ConvertToOpenCLType_t` was used with a plain cast instead of `convertDataToType`. Not touching `multi_ptr` related uses just yet.
aelovikov-intel
added a commit
that referenced
this pull request
Feb 12, 2024
Continuation of refactoring series initiated in #12674.
aelovikov-intel
added a commit
that referenced
this pull request
Feb 13, 2024
Follow-up for #12674, updating places where `ConvertToOpenCLType_t` was used with a plain cast instead of `convertDataToType`. Not touching `multi_ptr` related uses just yet.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is probably just the first patch in a series of refactoring PRs I'm envisioning. Ultimate goal is to align this helper and
sycl::detail::builtins::convert_arg
frombuiltins_preview.hpp
, possibly with the latter delegating to the former.