Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Dot3SoaScalar(float[] xs, float[] ys, float[] zs, float[] dp) {
- for (var j = 0; j < reps; ++j) {
- for (var i = 0; i < dp.Length; ++i) {
- dp[i] = xs[i] * xs[i] + ys[i] * ys[i] + zs[i] * zs[i];
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement