Skip to content

[SYCL] Fix a typo in test regression/device_num.cpp #3286

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 1 commit into from
Mar 3, 2021

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
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