Implement gemm_blk_var3 based on FLAME.