Function suggestVectorLength [src]
Suggests a target-dependant vector length for a given type, or null if scalars are recommended.
Not yet implemented for every CPU architecture.
Prototype
pub fn suggestVectorLength(comptime T: type) ?comptime_int
Parameters
T: type
Source
pub fn suggestVectorLength(comptime T: type) ?comptime_int {
return suggestVectorLengthForCpu(T, builtin.cpu);
}