unwrap extern blas op inputs
more codgen and change to use remapWithRef