Skip to content

Commit e281a3a

Browse files
vegaluisjoseWei Chen
authored andcommitted
bugfix function args order in alu instruction generation (apache#3592)
1 parent 53d9337 commit e281a3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vta/tests/hardware/common/test_lib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,17 +227,17 @@ VTAGenericInsn getGEMMInsn(int uop_offset, int batch, int in_feat, int out_feat,
227227
/*!
228228
* \brief Returns a VTA ALU instruction for map type operation.
229229
* \param opcode Opcode of the ALU instruction.
230+
* \param vector_size Vector size of the ALU operation size.
230231
* \param use_imm Use immediate.
231232
* \param imm Immediate value (int16).
232-
* \param vector_size Vector size of the ALU operation size.
233233
* \param uop_compression Apply micro-op compression.
234234
* \param pop_prev_dep Pop dependence from previous stage.
235235
* \param pop_next_dep Pop dependence from next stage.
236236
* \param push_prev_dep Push dependence to previous stage.
237237
* \param push_next_dep Push dependence to next stage.
238238
* \return A VTAGenericInsn for a ALU op.
239239
*/
240-
VTAGenericInsn getALUInsn(int opcode, bool use_imm, int imm, int vector_size, bool uop_compression,
240+
VTAGenericInsn getALUInsn(int opcode, int vector_size, bool use_imm, int imm, bool uop_compression,
241241
int pop_prev_dep, int pop_next_dep, int push_prev_dep, int push_next_dep);
242242

243243
/*!

0 commit comments

Comments
 (0)