Skip to content

Commit 33bf8d4

Browse files
committed
updated urDeviceGetInfo conformance test
1 parent 31c8e4f commit 33bf8d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/conformance/device/urDeviceGetInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ static std::unordered_map<ur_device_info_t, size_t> device_info_size_map = {
126126
sizeof(ur_memory_scope_capability_flags_t)},
127127
{UR_DEVICE_INFO_ESIMD_SUPPORT, sizeof(ur_bool_t)},
128128
{UR_DEVICE_INFO_IP_VERSION, sizeof(uint32_t)},
129-
{UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT, sizeof(ur_bool_t)}};
129+
{UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT, sizeof(ur_bool_t)},
130+
{UR_DEVICE_INFO_NUM_COMPUTE_UNITS, sizeof(uint32_t)}};
130131

131132
using urDeviceGetInfoTest = uur::urDeviceTestWithParam<ur_device_info_t>;
132133

0 commit comments

Comments
 (0)