Search Unity

Can Bust speed up hashing functions like SHA256 or are there multithreaded hashing functions?

Discussion in 'Burst' started by Arowx, Apr 22, 2022.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    The Burst compiler speeds up compiled code and C# has inbuilt hashing functions, so will or can Burst speed up SHA256?

    Or are there any Burst-able hashing functions that could be multi-threaded and vectorised?

    Addendum: modern Intel and AMD CPUs have SHA instructions that help speed up SHA1 and SHA256 hashing functions. Could the Burst API enable or provide this compile option?
     
    Last edited: Apr 22, 2022