121 references to IsHardwareAccelerated
System.Linq (1)
System\Linq\MaxMin.cs (1)
75
else if (!Vector512.
IsHardwareAccelerated
|| !Vector512<T>.IsSupported || span.Length < Vector512<T>.Count)
System.Numerics.Tensors (25)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (2)
72
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TTransformOperator.Vectorizable)
1191
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TBinaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (2)
85
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TBinaryOperator.Vectorizable)
1417
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TTransformOperator.Vectorizable && TBinaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (5)
100
if (Vector512.
IsHardwareAccelerated
&& TOperator.Vectorizable && Vector512<T>.IsSupported)
234
if (Vector512.
IsHardwareAccelerated
&& TOperator.Vectorizable && Vector512<T>.IsSupported)
342
if (Vector512.
IsHardwareAccelerated
&& TOperator.Vectorizable && Vector512<T>.IsSupported)
459
if (Vector512.
IsHardwareAccelerated
&& TOperator.Vectorizable && Vector512<T>.IsSupported)
586
if (Vector512.
IsHardwareAccelerated
&& TOperator.Vectorizable && Vector512<T>.IsSupported)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (1)
51
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TStatefulUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (3)
72
if (TTernaryOperator.Vectorizable && Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported)
1547
if (TTernaryOperator.Vectorizable && Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported)
3033
if (TTernaryOperator.Vectorizable && Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (3)
70
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TUnaryOperator.Vectorizable)
205
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TOperator.Vectorizable)
386
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && TOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (1)
44
if (Vector512.
IsHardwareAccelerated
&& TUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (1)
44
if (Vector512.
IsHardwareAccelerated
&& TUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (1)
91
if (Vector512.
IsHardwareAccelerated
&& Vector512<TInput>.IsSupported && Vector512<TOutput>.IsSupported && TUnaryOperator.Vectorizable && sizeof(TInput) == sizeof(TOutput))
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (1)
44
if (Vector512.
IsHardwareAccelerated
&& TUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (2)
61
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && x.Length >= Vector512<T>.Count)
201
if (Vector512.
IsHardwareAccelerated
&& x.Length >= Vector512<short>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.HammingDistance.cs (1)
79
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && x.Length >= Vector512<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
148
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && x.Length >= Vector512<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
407
if (Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported && x.Length >= Vector512<T>.Count)
System.Private.CoreLib (94)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (1)
53
if (Vector512.
IsHardwareAccelerated
&& Avx512Vbmi.IsSupported && (end >= src))
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64EncoderHelper.cs (1)
44
if (Vector512.
IsHardwareAccelerated
&& Avx512Vbmi.IsSupported && (end >= src))
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (2)
172
if (Vector512.
IsHardwareAccelerated
)
424
if (Vector512.
IsHardwareAccelerated
)
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (1)
166
if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<ushort>.Count)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (5)
839
if (Vector512.
IsHardwareAccelerated
)
1744
if (Vector512.
IsHardwareAccelerated
)
1996
if (Vector512.
IsHardwareAccelerated
)
3794
if (Vector512.
IsHardwareAccelerated
)
3838
if (Vector512.
IsHardwareAccelerated
)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (32)
51
get =>
IsHardwareAccelerated
;
652
else if (
IsHardwareAccelerated
)
730
if (
IsHardwareAccelerated
)
747
if (
IsHardwareAccelerated
)
1663
if (
IsHardwareAccelerated
)
1681
if (
IsHardwareAccelerated
)
1765
if (
IsHardwareAccelerated
)
1782
if (
IsHardwareAccelerated
)
2010
if (
IsHardwareAccelerated
)
2027
if (
IsHardwareAccelerated
)
2304
if (
IsHardwareAccelerated
)
2322
if (
IsHardwareAccelerated
)
2507
if (
IsHardwareAccelerated
)
2524
if (
IsHardwareAccelerated
)
2541
if (
IsHardwareAccelerated
)
2558
if (
IsHardwareAccelerated
)
2576
if (
IsHardwareAccelerated
)
2594
if (
IsHardwareAccelerated
)
2612
if (
IsHardwareAccelerated
)
2630
if (
IsHardwareAccelerated
)
2648
if (
IsHardwareAccelerated
)
2666
if (
IsHardwareAccelerated
)
2684
if (
IsHardwareAccelerated
)
2702
if (
IsHardwareAccelerated
)
2720
if (
IsHardwareAccelerated
)
2738
if (
IsHardwareAccelerated
)
2992
if (
IsHardwareAccelerated
)
3010
if (
IsHardwareAccelerated
)
3800
if (
IsHardwareAccelerated
)
3817
if (
IsHardwareAccelerated
)
3834
if (
IsHardwareAccelerated
)
3854
if (
IsHardwareAccelerated
)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (2)
395
if (Vector512.
IsHardwareAccelerated
)
470
get => Vector512.
IsHardwareAccelerated
;
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (2)
397
return Vector512.
IsHardwareAccelerated
&& Avx512Vbmi.VL.IsSupported
411
return Vector512.
IsHardwareAccelerated
&& Avx512Vbmi.VL.IsSupported
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\AsciiStringSearchValuesTeddyBase.cs (2)
157
if (Vector512.
IsHardwareAccelerated
&& Avx512Vbmi.IsSupported && span.Length >= CharsPerIterationAvx512 + MatchStartOffsetN2)
177
if (Vector512.
IsHardwareAccelerated
&& Avx512Vbmi.IsSupported && span.Length >= CharsPerIterationAvx512 + MatchStartOffsetN3)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesPackedThreeChars.cs (1)
90
if (Vector512.
IsHardwareAccelerated
&& Avx512BW.IsSupported && searchSpaceMinusValueTailLength - Vector512<byte>.Count >= 0)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesThreeChars.cs (1)
90
if (Vector512.
IsHardwareAccelerated
&& searchSpaceMinusValueTailLength - Vector512<ushort>.Count >= 0)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (6)
66
if (Vector512.
IsHardwareAccelerated
&& searchSpaceMinusValueTailLength - Vector512<byte>.Count >= 0)
299
if (Vector512.
IsHardwareAccelerated
&& searchSpaceMinusValueTailLength >= Vector512<byte>.Count)
520
if (Vector512.
IsHardwareAccelerated
)
823
if (Vector512.
IsHardwareAccelerated
&& length >= (nuint)Vector512<byte>.Count)
978
if (Vector512.
IsHardwareAccelerated
&& (lengthToExamine >= (nuint)Vector512<byte>.Count))
1306
if (Vector512.
IsHardwareAccelerated
&& remainder >= Vector512<byte>.Count * 2)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (4)
71
if (Vector512.
IsHardwareAccelerated
&& searchSpaceMinusValueTailLength - Vector512<ushort>.Count >= 0)
313
if (Vector512.
IsHardwareAccelerated
&& searchSpaceMinusValueTailLength >= Vector512<ushort>.Count)
581
if (Vector512.
IsHardwareAccelerated
)
894
if (Vector512.
IsHardwareAccelerated
&& remainder >= Vector512<ushort>.Count * 2)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.cs (2)
95
if (Vector512.
IsHardwareAccelerated
&& remainder >= Vector512<int>.Count * 2)
200
if (Vector512.
IsHardwareAccelerated
&& remainder >= Vector512<long>.Count * 2)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (5)
149
if (Avx512BW.IsSupported && Vector512.
IsHardwareAccelerated
&& length > Vector512<short>.Count)
348
if (Avx512BW.IsSupported && Vector512.
IsHardwareAccelerated
&& length > Vector512<short>.Count)
557
if (Avx512BW.IsSupported && Vector512.
IsHardwareAccelerated
&& length > Vector512<short>.Count)
772
if (Avx512BW.IsSupported && Vector512.
IsHardwareAccelerated
&& length > Vector512<short>.Count)
972
if (Avx512BW.IsSupported && Vector512.
IsHardwareAccelerated
&& length > Vector512<short>.Count)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (16)
1368
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<T>.Count)
1559
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
1784
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
1991
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
2147
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
2310
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
2492
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
2631
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
2816
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
2966
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
3126
else if (!Vector512.
IsHardwareAccelerated
|| length < (uint)Vector512<T>.Count)
3151
Debug.Assert(Vector512.
IsHardwareAccelerated
&& Vector512<T>.IsSupported, "Vector512 is not HW-accelerated or not supported");
3224
else if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<TValue>.Count)
3542
else if (!Vector512.
IsHardwareAccelerated
|| length < (uint)Vector512<T>.Count)
3687
else if (!Vector512.
IsHardwareAccelerated
|| length < Vector512<T>.Count)
3785
if (Vector512.
IsHardwareAccelerated
&& length >= Vector512<T>.Count)
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
1300
if (Vector512.
IsHardwareAccelerated
&& length >= (uint)Vector512<ushort>.Count)
2043
if (Vector512.
IsHardwareAccelerated
&& lengthToExamine >= (uint)Vector512<ushort>.Count*2)
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Equality.cs (2)
65
else if (Vector512.
IsHardwareAccelerated
&& length >= (uint)Vector512<TLeft>.Count)
235
else if (Vector512.
IsHardwareAccelerated
&& length >= (uint)Vector512<TRight>.Count)
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (7)
115
if (!Vector512.
IsHardwareAccelerated
&&
143
if (Vector512.
IsHardwareAccelerated
&& bufferLength >= 2 * (uint)Vector512<byte>.Count)
735
if (!Vector512.
IsHardwareAccelerated
&&
763
if (Vector512.
IsHardwareAccelerated
&& bufferLength >= 2 * (uint)Vector512<ushort>.Count)
1373
if (Vector512.
IsHardwareAccelerated
&& elementCount >= 2 * (uint)Vector512<byte>.Count)
1956
Debug.Assert(Vector512.
IsHardwareAccelerated
, "Vector512 is required.");
2075
if (Vector512.
IsHardwareAccelerated
&& (elementCount - currentOffset) >= (uint)Vector512<byte>.Count)
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
129
while (Vector512.
IsHardwareAccelerated
&& d.Length - offset >= Vector512<uint>.Count)