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

Improvements to align CTS and Spec for Event. #2687

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

isaacault
Copy link
Contributor

  • Added test case for urEventGetProfilingInfo return UR_RESULT_ERROR_PROFILING_INFO_NOT_AVAILABLE
  • Added test case for urEventCreateWithNativeHandle return UR_RESULT_ERROR_INVALID_NULL_HANDLE
  • Added test case for urEventCreateWithNativeHandle return UR_RESULT_ERROR_INVALID_NULL_POINTER
  • Added test case for urEventSetCallback return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION

@isaacault isaacault requested a review from a team as a code owner February 10, 2025 22:18
@github-actions github-actions bot added the conformance Conformance test suite issues. label Feb 10, 2025
* Added test case for urEventGetProfilingInfo return
  UR_RESULT_ERROR_PROFILING_INFO_NOT_AVAILABLE
* Added test case for urEventCreateWithNativeHandle return
  UR_RESULT_ERROR_INVALID_NULL_HANDLE
* Added test case for urEventCreateWithNativeHandle return
  UR_RESULT_ERROR_INVALID_NULL_POINTER
* Added test case for urEventSetCallback return
  UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION
UUR_ASSERT_SUCCESS_OR_UNSUPPORTED(
urEventGetNativeHandle(event, &native_event));

// We cannot assume anything about a native_handle, not even if it's
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can skip this comment for the negative tests, we aren't doing any further validation after checking the return code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

* Remove native_handle comment on negative tests.
@isaacault isaacault merged commit 2b81852 into oneapi-src:main Feb 12, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conformance Conformance test suite issues.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants