Skip to content

Conversation

@aelovikov-intel
Copy link
Contributor

  1. It isn't right
  2. We need this change to get rid of deprecated
    sycl::exception::get_cl_code

1) It isn't right
2) We need this change to get rid of deprecated
   `sycl::exception::get_cl_code`
@aelovikov-intel aelovikov-intel requested a review from a team as a code owner June 28, 2024 17:18
@bader
Copy link
Contributor

bader commented Jun 28, 2024

  1. It isn't right

Please, don't write description like that. Instead put an answer to "why it's not right?".
Our contribution guide has a link to the article with good hints on writing good commit message - https://cbea.ms/git-commit/#why-not-how.

@aelovikov-intel
Copy link
Contributor Author

I'd be happy to have a discussion with somebody who can explain to me how it might make even a tiniest bit of sense for a "has" method to throw an exception. Until then, "it isn't right" is pretty much how I see it.

Copy link
Contributor

@maarquitos14 maarquitos14 left a comment

Choose a reason for hiding this comment

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

LGTM.

@aelovikov-intel aelovikov-intel merged commit d52d779 into intel:sycl Jul 1, 2024
@aelovikov-intel aelovikov-intel deleted the no-throw-has branch July 1, 2024 15:23
KseniyaTikhomirova pushed a commit to KseniyaTikhomirova/llvm that referenced this pull request Jul 1, 2024
1) It isn't right
2) We need this change to get rid of deprecated
   `sycl::exception::get_cl_code`
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.

3 participants