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

[L0] fix return types for urDeviceGetInfo #1476

Closed
wants to merge 1 commit into from

Conversation

igchor
Copy link
Member

@igchor igchor commented Mar 26, 2024

For some reason device-adapter_level_zero started failing on my PR: #1430 It seems that the order in which tests are executed is different on clang and on GCC, hence match files only work on one of those compilers.

This PR gets rid of most of the suppressions by just returning a proper type from urDeviceGetInfo and changing UR_RESULT_ERROR_INVALID_VALUE to UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION as expected by the test.

@igchor igchor closed this Mar 26, 2024
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.

1 participant