8000 [UR][CTS] Skip failing command-buffer OpenCL CTS tests by EwanC · Pull Request #19138 · intel/llvm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[UR][CTS] Skip failing command-buffer OpenCL CTS tests #19138

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
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ UUR_DEVICE_TEST_SUITE_WITH_PARAM(
printMemcpyTestString<urCommandBufferMemcpyCommandsTest>);

TEST_P(urCommandBufferMemcpyCommandsTest, Buffer) {
// Buffer read & write not supported on OpenCL
// See https://github.com/KhronosGroup/OpenCL-Docs/issues/1281
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});

std::vector<uint8_t> input(size);
std::iota(input.begin(), input.end(), 1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ TEST_P(urEnqueueCommandBufferExpTest, SerializeInOrOutOfOrderQueue) {
// Tests releasing command-buffer while it is still executing relying
// on synchronization during urCommandBufferReleaseExp call.
TEST_P(urEnqueueCommandBufferExpTest, EnqueueAndRelease) {
// https://github.com/intel/llvm/issues/19139
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});

ASSERT_SUCCESS(urEnqueueCommandBufferExp(
in_or_out_of_order_queue, cmd_buf_handle, 0, nullptr, nullptr));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ struct testParametersRead {
struct urCommandBufferReadCommandsTest
: uur::command_buffer::urCommandBufferExpTestWithParam<testParametersRead> {
void SetUp() override {
// Buffer read not supported on OpenCL
// see https://github.com/KhronosGroup/OpenCL-Docs/issues/1281
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});

UUR_RETURN_ON_FATAL_FAILURE(
uur::command_buffer::urCommandBufferExpTestWithParam<
testParametersRead>::SetUp());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ struct urCommandBufferAppendMemBufferReadRectTestWithParam
: public uur::command_buffer::urCommandBufferExpTestWithParam<
uur::test_parameters_t> {
void SetUp() override {
// Buffer read not supported on OpenCL
// see https://github.com/KhronosGroup/OpenCL-Docs/issues/1281
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});

UUR_RETURN_ON_FATAL_FAILURE(
uur::command_buffer::urCommandBufferExpTestWithParam<
uur::test_parameters_t>::SetUp());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ struct urCommandBufferAppendMemBufferWriteRectTestWithParam
uur::test_parameters_t> {

void SetUp() override {
// Buffer write not supported on OpenCL
// see https://github.com/KhronosGroup/OpenCL-Docs/issues/1281
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});

UUR_RETURN_ON_FATAL_FAILURE(
uur::command_buffer::urCommandBufferExpTestWithParam<
uur::test_parameters_t>::SetUp());
Expand Down Expand Up @@ -151,4 +155,4 @@ TEST_P(urCommandBufferAppendMemBufferWriteRectTestWithParam, Success) {

// Verify the results.
EXPECT_EQ(expected, output);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ using urCommandBufferReleaseExpTest =
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCommandBufferReleaseExpTest);

TEST_P(urCommandBufferReleaseExpTest, Success) {
// https://github.com/intel/llvm/issues/19139
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});
EXPECT_SUCCESS(urCommandBufferRetainExp(cmd_buf_handle));

uint32_t prev_ref_count = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ using urCommandBufferRetainExpTest =
UUR_INSTANTIATE_DEVICE_TEST_SUITE(urCommandBufferRetainExpTest);

TEST_P(urCommandBufferRetainExpTest, Success) {
// https://github.com/intel/llvm/issues/19139
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});
uint32_t prev_ref_count = 0;
EXPECT_SUCCESS(uur::GetObjectReferenceCount(cmd_buf_handle, prev_ref_count));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ struct urCommandBufferWriteCommandsTest
: uur::command_buffer::urCommandBufferExpTestWithParam<
testParametersWrite> {
void SetUp() override {
// Buffer write not supported on OpenCL
// see https://github.com/KhronosGroup/OpenCL-Docs/issues/1281
UUR_KNOWN_FAILURE_ON(uur::OpenCL{});

UUR_RETURN_ON_FATAL_FAILURE(
uur::command_buffer::urCommandBufferExpTestWithParam<
testParametersWrite>::SetUp());
Expand Down
0