Skip to content

Commit 19e888e

Browse files
committed
fix format
1 parent ef8d794 commit 19e888e

File tree

1 file changed

+18
-21
lines changed
  • offload/plugins-nextgen/level_zero/include

1 file changed

+18
-21
lines changed

offload/plugins-nextgen/level_zero/include/L0Device.h

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -423,40 +423,37 @@ class L0DeviceTy final : public GenericDeviceTy {
423423

424424
// Command queues related functions
425425
/// Create a command list with given ordinal and flags
426-
Expected<ze_command_list_handle_t> createCmdList(ze_context_handle_t Context,
427-
ze_device_handle_t Device,
428-
uint32_t Ordinal,
429-
ze_command_list_flags_t Flags,
430-
const std::string_view DeviceIdStr);
426+
Expected<ze_command_list_handle_t>
427+
createCmdList(ze_context_handle_t Context, ze_device_handle_t Device,
428+
uint32_t Ordinal, ze_command_list_flags_t Flags,
429+
const std::string_view DeviceIdStr);
431430

432431
/// Create a command list with default flags
433-
Expected<ze_command_list_handle_t> createCmdList(ze_context_handle_t Context,
434-
ze_device_handle_t Device,
435-
uint32_t Ordinal,
436-
const std::string_view DeviceIdStr);
432+
Expected<ze_command_list_handle_t>
433+
createCmdList(ze_context_handle_t Context, ze_device_handle_t Device,
434+
uint32_t Ordinal, const std::string_view DeviceIdStr);
437435

438436
Expected<ze_command_list_handle_t> getCmdList();
439437

440438
/// Create a command queue with given ordinal and flags
441-
Expected<ze_command_queue_handle_t> createCmdQueue(ze_context_handle_t Context,
442-
ze_device_handle_t Device,
443-
uint32_t Ordinal, uint32_t Index,
444-
ze_command_queue_flags_t Flags,
445-
const std::string_view DeviceIdStr);
439+
Expected<ze_command_queue_handle_t>
440+
createCmdQueue(ze_context_handle_t Context, ze_device_handle_t Device,
441+
uint32_t Ordinal, uint32_t Index,
442+
ze_command_queue_flags_t Flags,
443+
const std::string_view DeviceIdStr);
446444

447445
/// Create a command queue with default flags
448-
Expected<ze_command_queue_handle_t> createCmdQueue(ze_context_handle_t Context,
449-
ze_device_handle_t Device,
450-
uint32_t Ordinal, uint32_t Index,
451-
const std::string_view DeviceIdStr,
452-
bool InOrder = false);
446+
Expected<ze_command_queue_handle_t>
447+
createCmdQueue(ze_context_handle_t Context, ze_device_handle_t Device,
448+
uint32_t Ordinal, uint32_t Index,
449+
const std::string_view DeviceIdStr, bool InOrder = false);
453450

454451
/// Create a new command queue for the given OpenMP device ID
455452
Expected<ze_command_queue_handle_t> createCommandQueue(bool InOrder = false);
456453

457454
/// Create an immediate command list
458-
Expected<ze_command_list_handle_t> createImmCmdList(uint32_t Ordinal, uint32_t Index,
459-
bool InOrder = false);
455+
Expected<ze_command_list_handle_t>
456+
createImmCmdList(uint32_t Ordinal, uint32_t Index, bool InOrder = false);
460457

461458
/// Create an immediate command list for computing
462459
Expected<ze_command_list_handle_t> createImmCmdList(bool InOrder = false) {

0 commit comments

Comments
 (0)