Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Adopt test for CUDA backend #240

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Conversation

vladimirlaz
Copy link

The value passed into memadvise is backend-specific. For OpenCL and Level Zero
this test assumes 0 is a valid value. For CUDA this is not the case. The valid
values for CUDA are 1 through 6.

The value passed into memadvise is backend-specific. For OpenCL and Level Zero
this test assumes 0 is a valid value. For CUDA this is not the case. The valid
values for CUDA are 1 through 6.
@vladimirlaz vladimirlaz requested a review from jbrodman as a code owner April 20, 2021 15:09
@vladimirlaz
Copy link
Author

SYCL :: Regression/implicit_offset_debug_info.cpp is known failure not related to the change.

@vladimirlaz
Copy link
Author

Submitted to avoid false alarms in CI

@nyalloc
Copy link

nyalloc commented Apr 23, 2021

It might have been a good idea to add a comment to explain why it was necessary to change the value depending on the backend. As someone reading this test who is unfamilair with the implementation detail, this change would be very confusing.

aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
The value passed into memadvise is backend-specific. For OpenCL and Level Zero
this test assumes 0 is a valid value. For CUDA this is not the case. The valid
values for CUDA are 1 through 6.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants