-
Notifications
You must be signed in to change notification settings - Fork 124
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
Parameterize CTS tests across all available adapters and devices. #2479
Parameterize CTS tests across all available adapters and devices. #2479
Conversation
79a6543
to
ea58e4d
Compare
d881ba8
to
6a1d9ad
Compare
6b3a61d
to
aaa1d81
Compare
aaa1d81
to
2922a07
Compare
LLVM PR intel/llvm#16519 I think it is worth including the small adapter fix in this, it avoids a lot of extra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Command buffer changes LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - we should merge this ASAP so it doesn't bitrot
2922a07
to
68ed7e8
Compare
The new `UUR_KNOWN_FAILURE_ON` macro can be used to skip tests on devices where the test is known to fail. This can be done in the following situations. For all devices in an adapter: ```cpp UUR_KNOWN_FAILURE_ON(uur::LevelZero{}); ``` By substring match of the device name within and adapter: ```cpp UUR_KNOWN_FAILURE_ON(uur::OpenCL{"Intel(R) UHD Graphics 770"}); ``` > Note: This invocation is used in a few places in this patch to > facilitate clean runs when using this decice. In certain test suits, where there is no access to a device, the platform name is used instead: ```cpp UUR_KNOWN_FAILURE_ON(uur::CUDA{"NVIDIA CUDA BACKEND"}); ``` When neither device or platform is available in a test suite, the name is ignored and only the adapter backend is used to determine if the test is a known failure. The macro is variadic making it possible to specify known failures for multiple adapters in a single place and multiple names can also be provided per adapter: ```cpp UUR_KNOWN_FAILURE_ON( uur::OpenCL{ "Intel(R) UHD Graphics 750", "Intel(R) UHD Graphics 770", }, uur::HIP{"Radeon RX 7700"}, uur::NativeCPU{}); ```
878bc1a
to
5038fe9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
5038fe9
to
31a9bbf
Compare
31a9bbf
to
778085f
Compare
No description provided.