Skip to content

Commit bcd61dd

Browse files
committed
Verify queried out IL against input IL in CTS test
1 parent 2a2f51c commit bcd61dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/conformance/program/urProgramGetInfo.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ TEST_P(urProgramGetInfoTest, Success) {
3232
property_value.resize(property_size);
3333
ASSERT_SUCCESS(urProgramGetInfo(program, property_name, property_size,
3434
property_value.data(), nullptr));
35+
if (property_name == UR_PROGRAM_INFO_IL) {
36+
ASSERT_EQ(property_value, *il_binary.get());
37+
}
3538
}
3639

3740
TEST_P(urProgramGetInfoTest, InvalidNullHandleProgram) {

0 commit comments

Comments
 (0)