Bug:
The matrix returns by this method is the transpose of the correct matrix.
After the fix:
Workload mapping can remove duplicated rows now.
GPR40 can converge quickly now. I tested it on small TPCC (scale=20), and it converges in 10 iterations (5 lhs + 5 gpr), but it cannot be better than the default config.
Bug: The matrix returns by this method is the transpose of the correct matrix.
After the fix: