coopmat reduce
| 4180 | |
| 4181 | // coopmat reduce |
| 4182 | Id Builder::createCooperativeMatrixReduce(Op opcode, Id typeId, Id source, unsigned int mask, Id func) |
| 4183 | { |
| 4184 | Instruction* op = new Instruction(getUniqueId(), typeId, opcode); |
| 4185 | op->addIdOperand(source); |
| 4186 | op->addImmediateOperand(mask); |
| 4187 | op->addIdOperand(func); |
| 4188 | addInstruction(std::unique_ptr<Instruction>(op)); |
| 4189 | |
| 4190 | return op->getResultId(); |
| 4191 | } |
| 4192 | |
| 4193 | // coopmat per-element operation |
| 4194 | Id Builder::createCooperativeMatrixPerElementOp(Id typeId, const std::vector<Id>& operands) |
no test coverage detected