Skip to content

[SYCL][HIP] Ignore unused PI command-buffer parameters #10192

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 2 commits into from
Jul 4, 2023

Conversation

EwanC
Copy link
Contributor

@EwanC EwanC commented Jul 4, 2023

Fixes error found in post-commit CI after the merge of #9992

 /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5635:24: error: unused parameter 'sync_point' [-Werror,-Wunused-parameter]
 5635 |     pi_ext_sync_point *sync_point) {
      |                        ^
/__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5691:12: error: unused parameter 'dst_row_pitch' [-Werror,-Wunused-parameter]
 5691 |     size_t dst_row_pitch, size_t dst_slice_pitch,
      |            ^
/__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5691:34: error: unused parameter 'dst_slice_pitch' [-Werror,-Wunused-parameter]
 5691 |     size_t dst_row_pitch, size_t dst_slice_pitch,
      |                                  ^
3 errors generated.

Fixes error found in [post-commit CI](https://github.com/intel/llvm/actions/runs/5454766342/jobs/9925392005)
after the merge of intel#9992

```
 /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5635:24: error: unused parameter 'sync_point' [-Werror,-Wunused-parameter]
 5635 |     pi_ext_sync_point *sync_point) {
      |                        ^
/__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5691:12: error: unused parameter 'dst_row_pitch' [-Werror,-Wunused-parameter]
 5691 |     size_t dst_row_pitch, size_t dst_slice_pitch,
      |            ^
/__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5691:34: error: unused parameter 'dst_slice_pitch' [-Werror,-Wunused-parameter]
 5691 |     size_t dst_row_pitch, size_t dst_slice_pitch,
      |                                  ^
3 errors generated.
```
@EwanC EwanC requested a review from a team as a code owner July 4, 2023 13:08
@EwanC EwanC requested a review from cperkinsintel July 4, 2023 13:08
@EwanC EwanC changed the title [SYCL][HIP] Ignore unused PI command-buffer paramters [SYCL][HIP] Ignore unused PI command-buffer parameters Jul 4, 2023
Copy link
Contributor

@dm-vodopyanov dm-vodopyanov left a comment

Choose a reason for hiding this comment

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

@EwanC, thanks!

@EwanC EwanC requested a review from a team as a code owner July 4, 2023 13:14
@EwanC EwanC requested a review from jchlanda July 4, 2023 13:14
@EwanC
Copy link
Contributor Author

EwanC commented Jul 4, 2023

Realized after opening this PR that the post-commit CI didn't get round to building other adapters, so manually checked the others touched in #9992 for similar issues, and pushed a commit with a CUDA change too, but that's all I found.

@EwanC EwanC temporarily deployed to aws July 4, 2023 13:30 — with GitHub Actions Inactive
@EwanC EwanC temporarily deployed to aws July 4, 2023 14:11 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen merged commit 7f781db into intel:sycl Jul 4, 2023
fabiomestre pushed a commit to fabiomestre/llvm that referenced this pull request Sep 26, 2023
Fixes error found in [post-commit
CI](https://github.com/intel/llvm/actions/runs/5454766342/jobs/9925392005)
after the merge of intel#9992

```
 /__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5635:24: error: unused parameter 'sync_point' [-Werror,-Wunused-parameter]
 5635 |     pi_ext_sync_point *sync_point) {
      |                        ^
/__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5691:12: error: unused parameter 'dst_row_pitch' [-Werror,-Wunused-parameter]
 5691 |     size_t dst_row_pitch, size_t dst_slice_pitch,
      |            ^
/__w/llvm/llvm/src/sycl/plugins/hip/pi_hip.cpp:5691:34: error: unused parameter 'dst_slice_pitch' [-Werror,-Wunused-parameter]
 5691 |     size_t dst_row_pitch, size_t dst_slice_pitch,
      |                                  ^
3 errors generated.
```
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