Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EgorBot for hamarb123 in #99596 #272

Open
EgorBot opened this issue Jan 29, 2025 · 2 comments
Open

EgorBot for hamarb123 in #99596 #272

EgorBot opened this issue Jan 29, 2025 · 2 comments

Comments

@EgorBot
Copy link
Owner

EgorBot commented Jan 29, 2025

Processing dotnet/runtime#99596 (comment) command:

Command

-intel -amd

using BenchmarkDotNet.Attributes;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

public class Benchmarks
{
    private int[] source = null!;
    private int[] dest = null!;

    [Params(1, 4, 8, 16, 64, 256, 1024, 16384)]
    public int N;

    [GlobalSetup]
    public void Setup()
    {
        source = new int[N];
        dest = new int[N];
        new Random(42).NextBytes(MemoryMarshal.AsBytes(source));
    }

    //test to see if the new codegen using shuf over perm is meaningfully faster
    [Benchmark]
    public void TestReverseEndianness() => System.Buffers.Binary.BinaryPrimitives.ReverseEndianness(source, dest);
}

(EgorBot will reply in this issue)

@EgorBot
Copy link
Owner Author

EgorBot commented Jan 29, 2025

❌ Failed on AzureGenoa: Job failed, see logs.

cc @hamarb123 (logs). EgorBot manual: link.

@EgorBot
Copy link
Owner Author

EgorBot commented Jan 29, 2025

❌ Failed on AzureCascadeLake: Job failed, see logs.

cc @hamarb123 (logs). EgorBot manual: link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant