Skip to content

Rename piclProgramCreateWithBinary to piProgramCreateWithBinary #1865

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

bjoernknafla
Copy link
Contributor

As all PI backends (OpenCL, Level Zero, CUDA) implement the piclProgramCreateWithBinary function we rename it to piProgramCreateWithBinary as it isn't OpenCL-specifici anymore.

The first commit applies the naming change.
The second commit applies clang-format and has many changes in pi_cuda.cpp.

For the changed LIT test to pass the following PR (with an interactive rebase) is required first: #1791

smaslov-intel
smaslov-intel previously approved these changes Jun 10, 2020
kbobrovs
kbobrovs previously approved these changes Jun 10, 2020
Copy link
Contributor

@kbobrovs kbobrovs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM outside pi_cuda.

A note: there seems to be a lot of unrelated formatting changes in pi_cuda

@bjoernknafla
Copy link
Contributor Author

The LIT_With_Cuda fail is due to requiring #1791 to be merged first (and an interactive rebase after to adapt that code to the PI API function rename).

@bjoernknafla
Copy link
Contributor Author

@kbobrovs I split the commit into two parts, one for the renaming and one for the pi_cuda.cpp clang-formatting - I think that file got in before PRs were tested for clang-formatting.

@bjoernknafla
Copy link
Contributor Author

Seeing that #1791 got merged. Will rebase this soon.

As all PI backends (OpenCL, Level Zero, CUDA) implement the
`piclProgramCreateWithBinary` function we rename it to
`piProgramCreateWithBinary` as it isn't OpenCL-specifici anymore.

Signed-off-by: Bjoern Knafla <[email protected]>
Signed-off-by: Bjoern Knafla <[email protected]>
@bjoernknafla bjoernknafla dismissed stale reviews from kbobrovs and smaslov-intel via 1f649f9 June 11, 2020 12:25
@bjoernknafla bjoernknafla force-pushed the bjoern/rename-piclprogramcreatewithbinary-to-piprogramcreatewithbinary branch from 6b33771 to 1f649f9 Compare June 11, 2020 12:25
@bjoernknafla
Copy link
Contributor Author

Rebased after #1791 got merged.

@bjoernknafla
Copy link
Contributor Author

Worried that Jenkins/Summary is in Pending - in Progress state for hours now.

@bader
Copy link
Contributor

bader commented Jun 11, 2020

Worried that Jenkins/Summary is in Pending - in Progress state for hours now.

Don't worry. Our internal testing is overloaded, but I don't see any issues and just a few checks are left.

@bader bader merged commit 538f652 into intel:sycl Jun 11, 2020
@bjoernknafla bjoernknafla deleted the bjoern/rename-piclprogramcreatewithbinary-to-piprogramcreatewithbinary branch June 11, 2020 16:34
bb-sycl pushed a commit that referenced this pull request Apr 4, 2023
This change fixes the following issues:

Unchecked return value
Explicit NULL dereferenced
Thanks

Signed-off-by: Arvind Sudarsanam <[email protected]>

Original commit:
KhronosGroup/SPIRV-LLVM-Translator@4355f70
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.

4 participants