Skip to content

Conversation

@bso-intel
Copy link
Contributor

The change is simple.
">=" ==> ">"
The original code was written assuming the device_num starts at 1.
As I changed the code to start device_num at 0, the condition of test
should have been changed to NOT run when the test is going over the total
number of devices found in the system.

Signed-off-by: Byoungro So [email protected]

The change is simple.
">=" ==> ">"
The original code was written assuming the device_num starts at 1.
As I changed the code to start device_num at 0, the condition of test
should have been changed to NOT run when the test is going over the total
number of devices found in the system.

Signed-off-by: Byoungro So <[email protected]>
@vladimirlaz vladimirlaz merged commit 103d706 into intel:sycl Mar 3, 2021
@bso-intel bso-intel deleted the fix-device-num-test branch March 5, 2021 02:45
iclsrc pushed a commit that referenced this pull request Aug 5, 2025
The LLVM coding standard [1] generally prefers static function
declarations, so turn off the `misc-use-anonymous-namespaces` option
that suggests using anonymous namespaces.

[1] https://llvm.org/docs/CodingStandards.html#restrict-visibility

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