Recently read opencv source code, see the CV of inverse matrix function: : invert (), want to test it, the speed of the first direct call for a moment, then I'm rewriting a invert, but use the invert of the source code, then I found my rewrite invert slower than the opencv invert a lot, but I don't quite understand why this is
` ` `
BM_MCV_INVERT & lt; Float>/100 4576006 ns 4566215 ns 137 items_per_second=219/s
BM_CV_INVERT & lt; Float>/100 692741 ns 686184 ns 997 items_per_second=1.45733 k/s
` ` `
The source code is not sticky
CodePudding user response:
Before the opencv, as if it will be automatically calculated by using opencl