Skip to content

Commit

Permalink
PR feedback and update CL match file.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongreig committed Dec 15, 2023
1 parent 36492ad commit 885b8a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/conformance/program/program_adapter_opencl.match
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
urProgramCreateWithBinaryTest.Success/Intel_R__OpenCL___{{.*}}_
urProgramCreateWithBinaryTest.InvalidNullHandleContext/Intel_R__OpenCL___{{.*}}_
urProgramCreateWithBinaryTest.InvalidNullHandleDevice/Intel_R__OpenCL___{{.*}}_
urProgramCreateWithBinaryTest.InvalidNullPointerBinary/Intel_R__OpenCL___{{.*}}_
urProgramCreateWithBinaryTest.InvalidNullPointerProgram/Intel_R__OpenCL___{{.*}}_
urProgramCreateWithBinaryTest.InvalidNullPointerMetadata/Intel_R__OpenCL___{{.*}}_
urProgramCreateWithBinaryTest.InvalidSizePropertyCount/Intel_R__OpenCL___{{.*}}_
urProgramGetFunctionPointerTest.InvalidFunctionName/Intel_R__OpenCL___{{.*}}_
urProgramGetInfoTest.Success/Intel_R__OpenCL___{{.*}}___UR_PROGRAM_INFO_SOURCE
urProgramGetInfoTest.Success/Intel_R__OpenCL___{{.*}}___UR_PROGRAM_INFO_BINARIES
5 changes: 5 additions & 0 deletions test/conformance/program/urProgramCreateWithBinary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ struct urProgramCreateWithBinaryTest : uur::urProgramTest {
void SetUp() override {
UUR_RETURN_ON_FATAL_FAILURE(urProgramTest::SetUp());
ASSERT_SUCCESS(urProgramBuild(context, program, nullptr));
size_t binary_sizes_len = 0;
ASSERT_SUCCESS(urProgramGetInfo(program, UR_PROGRAM_INFO_BINARY_SIZES,
0, nullptr, &binary_sizes_len));
// We're expecting one binary
ASSERT_EQ(binary_sizes_len/sizeof(size_t), 1);
size_t binary_size = 0;
ASSERT_SUCCESS(urProgramGetInfo(program, UR_PROGRAM_INFO_BINARY_SIZES,
sizeof(binary_size), &binary_size,
Expand Down

0 comments on commit 885b8a2

Please sign in to comment.