Skip to content

Commit 2a42c86

Browse files
committed
some cleaning
1 parent 277e5cb commit 2a42c86

File tree

1 file changed

+0
-71
lines changed

1 file changed

+0
-71
lines changed

benchmark/Benchmark.cs

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -135,77 +135,6 @@ public Config()
135135
{
136136
AddColumn(new DataVolume());
137137
AddColumn(new Speed());
138-
/*
139-
if (RuntimeInformation.ProcessArchitecture == Architecture.Arm64)
140-
{
141-
if (!warned)
142-
{
143-
#pragma warning disable CA1303
144-
Console.WriteLine("ARM64 system detected.");
145-
warned = true;
146-
}
147-
AddFilter(new AnyCategoriesFilter(["ARM64", "runtime"]));
148-
149-
}
150-
else if (RuntimeInformation.ProcessArchitecture == Architecture.X64)
151-
{
152-
if (Vector512.IsHardwareAccelerated && System.Runtime.Intrinsics.X86.Avx512Vbmi.IsSupported)
153-
{
154-
if (!warned)
155-
{
156-
#pragma warning disable CA1303
157-
Console.WriteLine("X64 system detected (Intel, AMD,...) with AVX-512 support.");
158-
warned = true;
159-
}
160-
AddFilter(new AnyCategoriesFilter(["avx512", "AVX", "SSE", "runtime"]));
161-
}
162-
else if (Avx2.IsSupported)
163-
{
164-
if (!warned)
165-
{
166-
#pragma warning disable CA1303
167-
Console.WriteLine("X64 system detected (Intel, AMD,...) with AVX2 support.");
168-
warned = true;
169-
}
170-
AddFilter(new AnyCategoriesFilter(["AVX", "SSE", "runtime"]));
171-
}
172-
else if (Ssse3.IsSupported && Popcnt.IsSupported)
173-
{
174-
if (!warned)
175-
{
176-
#pragma warning disable CA1303
177-
Console.WriteLine("X64 system detected (Intel, AMD,...) with Ssse3 support.");
178-
warned = true;
179-
}
180-
AddFilter(new AnyCategoriesFilter(["SSE", "runtime"]));
181-
}
182-
else if (Sse3.IsSupported && Popcnt.IsSupported)
183-
{
184-
if (!warned)
185-
{
186-
#pragma warning disable CA1303
187-
Console.WriteLine("X64 system detected (Intel, AMD,...) with Sse3 support.");
188-
warned = true;
189-
}
190-
AddFilter(new AnyCategoriesFilter(["SSE", "runtime"]));
191-
}
192-
else
193-
{
194-
if (!warned)
195-
{
196-
#pragma warning disable CA1303
197-
Console.WriteLine("X64 system detected (Intel, AMD,...) without relevant SIMD support.");
198-
warned = true;
199-
}
200-
AddFilter(new AnyCategoriesFilter(["scalar", "runtime"]));
201-
}
202-
}
203-
else
204-
{
205-
AddFilter(new AnyCategoriesFilter(["scalar", "runtime"]));
206-
}
207-
*/
208-
209138
}
210139
}
211140
// Parameters and variables for real data

0 commit comments

Comments
 (0)