You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repo's README.md has an example which uses vectorization=4.
But why this? And which other values are ok?
The docs on the ArrayArg from_raw_parts as well as TensorArg from_raw_parts API should provide some more info, by e.g. stating which sizes are supported by the different runtimes, and/or linking to supported_line_sizes on the Runtime trait.
Pointers on what to expect in terms of performance impact on the choice of vectorization factor would also be great.
The text was updated successfully, but these errors were encountered:
@Quba1Line is a new concept to make it more explicit what elements are vectorized. At some point we will probably make it impossible to vectorize other stuff. But I'm still unsure if we should have Array<F> always return Line<F> when accessed vs. needing to add Line in the type.
fnkernel<F:Float>(array:Array<F>){let value:Line<F> = array[0];// What we could have.let value:F = array[0];// What we have.}
The question is what we want to make the default (or less verbose), the vectorized or the unvectorized cases.
The repo's README.md has an example which uses vectorization=4.
But why this? And which other values are ok?
The docs on the ArrayArg from_raw_parts as well as TensorArg from_raw_parts API should provide some more info, by e.g. stating which sizes are supported by the different runtimes, and/or linking to supported_line_sizes on the
Runtime
trait.Pointers on what to expect in terms of performance impact on the choice of vectorization factor would also be great.
The text was updated successfully, but these errors were encountered: