Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  1. namespace Unity.Burst.CompilerServices
  2. {
  3. #if UNITY_BURST_EXPERIMENTAL_LOOP_INTRINSICS
  4. public static class Loop
  5. {
  6. /// <summary>
  7. /// Must be called from inside a loop.
  8. /// Will cause a compiler error in Burst-compiled code if the loop is not auto-vectorized.
  9. /// </summary>
  10. public static void ExpectVectorized() { }
  11. /// <summary>
  12. /// Must be called from inside a loop.
  13. /// Will cause a compiler error in Burst-compiled code if the loop is auto-vectorized.
  14. /// </summary>
  15. public static void ExpectNotVectorized() { }
  16. }
  17. #endif
  18. }