Visitar URL original
Include AVX512 in listed HardwareIntrinsics · Issue #2388 · dotnet/BenchmarkDotNet · GitHub
Skip to content

Include AVX512 in listed HardwareIntrinsics #2388

Closed

Description

@stephentoub

.NET 8 includes support for AVX512. HardwareIntrinsics.GetFullInfo should factor that in:
https://github.com/dotnet/BenchmarkDotNet/blob/master/src/BenchmarkDotNet/Portability/Cpu/HardwareIntrinsics.cs#L45-L91

Activity

  1. adamsitnik commented on Aug 1, 2023

    @adamsitnik
    Member

    It should be very easy to implement, we just need someone with the AVX512 hardware to be able to test it.

  2. nietras commented on Aug 11, 2023

    @nietras
    Contributor

    Related to this I have been observing some weird issues related to benchmarking on AVX512, see https://mastodon.social/@nietras/110871324242154513

    This claims Vector512 being run on net7.0 runtime, and fails running IndexOfAny. Command is something like:

    dotnet run -c Release -f net8.0 --project src\Sep.Benchmarks\Sep.Benchmarks.csproj -- -m --runtimes net70 net80 
    

    all code can be found in net8.0 branch of Sep: nietras/Sep#23

    image

    IndexOfAny fails with:
    image

  3. nietras commented on Aug 11, 2023

    @nietras
    Contributor

    Ah I think I get it some of this, this is due to how I set this up perhaps, I use Params for parametizing the parsers to run, this list is then defined for "-f net8.0" then BDN runs each params for each runtime, but what and how it then uses the params for the Vector512 path on net7.0 runtime I do not know. I always struggle with BDN here since parametizing things at runtime is ... not easy.

    image

    I do not know how IndexOfAny then fails either but presumably this refers to "net8.0 version" of that code on net7.0 runtime then...

  4. linked a pull request that will close this issueAdd HardwareIntrinsics AVX-512 info #2412on Aug 20, 2023
  5. added this to the v0.13.11 milestone on Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions