[mlir][sparse] parameterize MTTKRP kernel
Rather than hardcoding all constants, we now use the input tensor to drive the code setup. Of course, we still need to hardcode dim-2 of A and the final verification in CHECK is input dependent, but overall this sets a slightly better example of tensor setup in general. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D117349
Loading
Please sign in to comment