Skip to content
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

[SYCL] Fix warning caused by [[nodiscard]] attribute #2545

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

againull
Copy link
Contributor

try_lock_for method is marked with [[nodiscard]] attribute which means
that its result can't be discarded. Discarding the result causes warning
which turns into error in -Werror mode causing build failure.

try_lock_for method is marked with [[nodiscard]] attribute which means
that its result can't be discarded. Discarding the result causes warning
which turns into error in -Werror mode causing build failure.
@againull againull requested a review from a team as a code owner September 25, 2020 20:07
@againull againull requested review from v-klochkov, dm-vodopyanov and vladimirlaz and removed request for v-klochkov September 25, 2020 20:07
@againull
Copy link
Contributor Author

/summary:run

@bader bader merged commit ece826a into intel:sycl Sep 28, 2020
alexbatashev pushed a commit to alexbatashev/llvm that referenced this pull request Sep 29, 2020
…_wrapper

* upstream/sycl: (1533 commits)
  [SYCL] XFAIL sub_group shuffle tests on GPU
  [SYCL] Add support for L0 loader validation layer (intel#2520)
  [NFC][LIT] Temporary disable function pointers as they hang on L0 (intel#2544)
  [SYCL] use release version of OpenCL ICD loader
  [SYCL] Improve testing of host-task (intel#2540)
  Revert 1291215
  [SYCL] Fix warning caused by [[nodiscard]] attribute (intel#2545)
  [SYCL] Workaround windows build failure
  [SYCL] Remove kernel_signature_start from int header (intel#2537)
  [SYCL] Fix ABI tests in post-commit (intel#2539)
  [SYCL][DOC] Update C-CXX-StandardLibrary doc to align with latest status (intel#2529)
  [SYCL][NFC] Fix static code analysis concerns (intel#2531)
  [SYCL][NFC] Improve testing for accessor_property_list (intel#2532)
  [SYCL] Avoid overuse of CPU on wait read-write lock loop (intel#2525)
  [SYCL] Implement no-decomposition for kernel types that don't need it. (intel#2477)
  [SYCL] Add group algorithm constraints (intel#2462)
  [BuildBot] Uplift Windows GPU RT from 8673 to 8778 (intel#2533)
  [SYCL][LIT][NFC] Extend ABI test suite (intel#2522)
  [SYCL][DebugInfo] Reinstate source locations for some kernel instructions (intel#2527)
  [SYCL][NFC] Replace the deprecated VectorType::getNumElements() (intel#2524)
  ...
@againull againull deleted the fix_nodiscard_issue branch December 3, 2022 00:03
kbenzie pushed a commit to kbenzie/intel-llvm that referenced this pull request Feb 17, 2025
Replace bare issue numbers with URLs
Chenyang-L pushed a commit that referenced this pull request Feb 18, 2025
Replace bare issue numbers with URLs
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