Skip to content

Commit abfdb63

Browse files
author
Jaime Arteaga
authored
[SYCL][UR][L0] Initialize correctly ze_command_queue_group_properties_t (#9982)
this to avoid errors when enabling validation layer in L0 with ZE_DEBUG=6. Signed-off-by: Jaime Arteaga <[email protected]>
1 parent dca2aa6 commit abfdb63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_platform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ ur_result_t ur_platform_handle_t_::populateDeviceCacheIfNeeded() {
484484
if (numQueueGroups == 0) {
485485
return UR_RESULT_ERROR_UNKNOWN;
486486
}
487-
std::vector<ze_command_queue_group_properties_t> QueueGroupProperties(
488-
numQueueGroups);
487+
std::vector<ZeStruct<ze_command_queue_group_properties_t>>
488+
QueueGroupProperties(numQueueGroups);
489489
ZE2UR_CALL(zeDeviceGetCommandQueueGroupProperties,
490490
(UrSubDevice->ZeDevice, &numQueueGroups,
491491
QueueGroupProperties.data()));

0 commit comments

Comments
 (0)