TODO: rearranged tasks
matrixmul: added transposed_a and transposed_b options