MCPcopy Create free account
hub / github.com/csyonghe/Spire / OpMatrixTimesVector

Method OpMatrixTimesVector

Source/SpireCore/SpirVCodeGen.cpp:1223–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221 streamFunctionBody.Add(ID1);
1222 }
1223 void OpMatrixTimesVector(const int ID, const int typeID, const int ID0, const int ID1)
1224 {
1225 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpMatrixTimesVector %)" << typeID << LR"( %)" << ID0 << LR"( %)" << ID1 << EndLine;
1226
1227 streamFunctionBody.Add(145 + (5 << 16));
1228 streamFunctionBody.Add(typeID);
1229 streamFunctionBody.Add(ID);
1230 streamFunctionBody.Add(ID0);
1231 streamFunctionBody.Add(ID1);
1232 }
1233 void OpMatrixTimesMatrix(const int ID, const int typeID, const int ID0, const int ID1)
1234 {
1235 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpMatrixTimesMatrix %)" << typeID << LR"( %)" << ID0 << LR"( %)" << ID1 << EndLine;

Callers 1

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected