[ROCm/ROCR-Runtime commit: 700078d335]
Этот коммит содержится в:
Yiannis Papadopoulos
2025-05-19 21:07:33 -04:00
коммит произвёл Papadopoulos, Yiannis
родитель 38c54b09ac
Коммит 69505ab60c
+6 -8
Просмотреть файл
@@ -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.