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