Skip to content

Conversation

@sergey-semenov
Copy link
Contributor

Add a missing static keyword to the function as well.

Add a missing static keyword to the function as well.
@bader bader changed the title [SYCL] Fix an unused variable warning in getMemObjCreationFlags [SYCL][NFC] Fix an unused variable warning in getMemObjCreationFlags Feb 4, 2021
@bader bader merged commit 9e0f20e into intel:sycl Feb 4, 2021
@sergey-semenov sergey-semenov deleted the fixunusedvar branch February 4, 2021 11:01
jsji pushed a commit that referenced this pull request May 30, 2025
Previously it used posix, causing strange behaviour like reported in
KhronosGroup/SPIRV-LLVM-Translator#3126

It's NFC change for the translator-based tool chains. Yet if SPIR-V
consumer is not llvm-spirv - the fix should help.

Note, the patch is not attempting to guess separators depending on the
user's IR input, so for the linux <-> windows cross compilation the
result will be odd (like it was before).

Signed-off-by: Sidorov, Dmitry <[email protected]>

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

2 participants