Skip to content

Commit d357a1d

Browse files
committed
fix
1 parent 33bf8d4 commit d357a1d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/conformance/device/urDeviceGetInfo.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,13 @@ UUR_DEVICE_TEST_SUITE_P(
251251
UR_DEVICE_INFO_2D_BLOCK_ARRAY_CAPABILITIES_EXP, //
252252
UR_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_DOUBLE, //
253253
UR_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_HALF, //
254-
UR_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_INT //
255-
),
256-
uur::deviceTestWithParamPrinter<ur_device_info_t>);
254+
UR_DEVICE_INFO_PREFERRED_VECTOR_WIDTH_INT, //
255+
UR_DEVICE_INFO_NUM_COMPUTE_UNITS),
256+
[](const ::testing::TestParamInfo<ur_device_info_t> &info) {
257+
std::stringstream ss;
258+
ss << info.param;
259+
return ss.str();
260+
});
257261

258262
using urDeviceGetInfoSingleTest = uur::urDeviceTest;
259263
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urDeviceGetInfoSingleTest);

0 commit comments

Comments
 (0)