From 69505ab60cc8aad15df9532dacf5cb800d74ff68 Mon Sep 17 00:00:00 2001 From: Yiannis Papadopoulos Date: Mon, 19 May 2025 21:07:33 -0400 Subject: [PATCH] Fix formatting [ROCm/ROCR-Runtime commit: 700078d3354407dcf3314457db389296cd59e9aa] --- .../core/driver/xdna/amd_xdna_driver.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/driver/xdna/amd_xdna_driver.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/driver/xdna/amd_xdna_driver.cpp index 20a9f62fe3..0a398e60f2 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/driver/xdna/amd_xdna_driver.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/driver/xdna/amd_xdna_driver.cpp @@ -64,14 +64,12 @@ static_assert((sizeof(core::ShareableHandle::handle) >= sizeof(uint32_t)) && (alignof(core::ShareableHandle::handle) >= alignof(uint32_t)), "ShareableHandle cannot store a XDNA handle"); -/** - * @brief Index of the first operand in a command. - * - * Before the operands there are: - * - 2 dwords for transaction op code - * - 2 dwords for the instructions BO address - * - 1 dword for the size of the instructions BO size - */ +/// @brief Index of the first operand in a command. +/// +/// Before the operands there are: +/// - 2 dwords for transaction op code +/// - 2 dwords for the instructions BO address +/// - 1 dword for the size of the instructions BO size constexpr uint32_t operand_starting_index = 5; /// @brief Default amdxdna_cu_config::cu_func when configuring a CU.