Skip to content

Instantly share code, notes, and snippets.

Per Rutquist perrutquist

Block or report user

Report or block perrutquist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View masked_avx_example.jl
# A small example of how to write Julia code that results in masked AVX instructions
"""
unsafe_max4(C, A, B)
Compute the element-wise maximum of the 4 first elements of vectors `A` and `B`,
and store the result C.
If any of the vectors is too small, the program might crash, or worse.
"""
You can’t perform that action at this time.