213 references to IsHardwareAccelerated
GenerateDocumentationAndConfigFiles (6)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (6)
346if (Vector256.IsHardwareAccelerated) 403if (Vector256.IsHardwareAccelerated) 492if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 528if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 633if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 727if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian)
Microsoft.CodeAnalysis (6)
Hashing\XxHashShared.cs (6)
346if (Vector256.IsHardwareAccelerated) 403if (Vector256.IsHardwareAccelerated) 492if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 528if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 633if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 727if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian)
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (6)
346if (Vector256.IsHardwareAccelerated) 403if (Vector256.IsHardwareAccelerated) 492if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 528if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 633if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 727if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian)
System.IO.Hashing (6)
System\IO\Hashing\XxHashShared.cs (6)
337if (Vector256.IsHardwareAccelerated) 394if (Vector256.IsHardwareAccelerated) 483if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 519if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 624if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 718if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian)
System.Linq (1)
System\Linq\MaxMin.cs (1)
51else if (!Vector256.IsHardwareAccelerated || !Vector256<T>.IsSupported || span.Length < Vector256<T>.Count)
System.Numerics.Tensors (98)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (18)
92if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TTransformOperator.Vectorizable) 758Debug.Assert(Vector256.IsHardwareAccelerated); 772Debug.Assert(Vector256.IsHardwareAccelerated); 913Debug.Assert(Vector256.IsHardwareAccelerated); 927Debug.Assert(Vector256.IsHardwareAccelerated); 1019Debug.Assert(Vector256.IsHardwareAccelerated); 1032Debug.Assert(Vector256.IsHardwareAccelerated); 1104Debug.Assert(Vector256.IsHardwareAccelerated); 1117Debug.Assert(Vector256.IsHardwareAccelerated); 1211if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TBinaryOperator.Vectorizable) 1954Debug.Assert(Vector256.IsHardwareAccelerated); 1970Debug.Assert(Vector256.IsHardwareAccelerated); 2115Debug.Assert(Vector256.IsHardwareAccelerated); 2131Debug.Assert(Vector256.IsHardwareAccelerated); 2227Debug.Assert(Vector256.IsHardwareAccelerated); 2242Debug.Assert(Vector256.IsHardwareAccelerated); 2320Debug.Assert(Vector256.IsHardwareAccelerated); 2335Debug.Assert(Vector256.IsHardwareAccelerated);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (18)
103if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TBinaryOperator.Vectorizable) 942Debug.Assert(Vector256.IsHardwareAccelerated); 958Debug.Assert(Vector256.IsHardwareAccelerated); 1114Debug.Assert(Vector256.IsHardwareAccelerated); 1130Debug.Assert(Vector256.IsHardwareAccelerated); 1229Debug.Assert(Vector256.IsHardwareAccelerated); 1244Debug.Assert(Vector256.IsHardwareAccelerated); 1319Debug.Assert(Vector256.IsHardwareAccelerated); 1334Debug.Assert(Vector256.IsHardwareAccelerated); 1435if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TTransformOperator.Vectorizable && TBinaryOperator.Vectorizable) 2262Debug.Assert(Vector256.IsHardwareAccelerated); 2280Debug.Assert(Vector256.IsHardwareAccelerated); 2438Debug.Assert(Vector256.IsHardwareAccelerated); 2456Debug.Assert(Vector256.IsHardwareAccelerated); 2557Debug.Assert(Vector256.IsHardwareAccelerated); 2574Debug.Assert(Vector256.IsHardwareAccelerated); 2651Debug.Assert(Vector256.IsHardwareAccelerated); 2668Debug.Assert(Vector256.IsHardwareAccelerated);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (5)
128if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.IsSupported) 265if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.IsSupported) 376if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.IsSupported) 497if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.IsSupported) 634if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.IsSupported)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (9)
69if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TStatefulUnaryOperator.Vectorizable) 814Debug.Assert(Vector256.IsHardwareAccelerated); 828Debug.Assert(Vector256.IsHardwareAccelerated); 966Debug.Assert(Vector256.IsHardwareAccelerated); 980Debug.Assert(Vector256.IsHardwareAccelerated); 1069Debug.Assert(Vector256.IsHardwareAccelerated); 1082Debug.Assert(Vector256.IsHardwareAccelerated); 1151Debug.Assert(Vector256.IsHardwareAccelerated); 1164Debug.Assert(Vector256.IsHardwareAccelerated);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (27)
90if (TTernaryOperator.Vectorizable && Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported) 1023Debug.Assert(Vector256.IsHardwareAccelerated); 1041Debug.Assert(Vector256.IsHardwareAccelerated); 1215Debug.Assert(Vector256.IsHardwareAccelerated); 1233Debug.Assert(Vector256.IsHardwareAccelerated); 1342Debug.Assert(Vector256.IsHardwareAccelerated); 1359Debug.Assert(Vector256.IsHardwareAccelerated); 1440Debug.Assert(Vector256.IsHardwareAccelerated); 1457Debug.Assert(Vector256.IsHardwareAccelerated); 1565if (TTernaryOperator.Vectorizable && Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported) 2486Debug.Assert(Vector256.IsHardwareAccelerated); 2506Debug.Assert(Vector256.IsHardwareAccelerated); 2682Debug.Assert(Vector256.IsHardwareAccelerated); 2702Debug.Assert(Vector256.IsHardwareAccelerated); 2813Debug.Assert(Vector256.IsHardwareAccelerated); 2832Debug.Assert(Vector256.IsHardwareAccelerated); 2915Debug.Assert(Vector256.IsHardwareAccelerated); 2934Debug.Assert(Vector256.IsHardwareAccelerated); 3051if (TTernaryOperator.Vectorizable && Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported) 3957Debug.Assert(Vector256.IsHardwareAccelerated); 3978Debug.Assert(Vector256.IsHardwareAccelerated); 4155Debug.Assert(Vector256.IsHardwareAccelerated); 4176Debug.Assert(Vector256.IsHardwareAccelerated); 4288Debug.Assert(Vector256.IsHardwareAccelerated); 4308Debug.Assert(Vector256.IsHardwareAccelerated); 4392Debug.Assert(Vector256.IsHardwareAccelerated); 4412Debug.Assert(Vector256.IsHardwareAccelerated);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (3)
100if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TUnaryOperator.Vectorizable) 253if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TOperator.Vectorizable) 436if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && TOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (1)
81if (Vector256.IsHardwareAccelerated && TUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (1)
77if (Vector256.IsHardwareAccelerated && TUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (9)
109if (Vector256.IsHardwareAccelerated && Vector256<TInput>.IsSupported && Vector256<TOutput>.IsSupported && TUnaryOperator.Vectorizable && sizeof(TInput) == sizeof(TOutput)) 854Debug.Assert(Vector256.IsHardwareAccelerated); 868Debug.Assert(Vector256.IsHardwareAccelerated); 1006Debug.Assert(Vector256.IsHardwareAccelerated); 1020Debug.Assert(Vector256.IsHardwareAccelerated); 1109Debug.Assert(Vector256.IsHardwareAccelerated); 1122Debug.Assert(Vector256.IsHardwareAccelerated); 1191Debug.Assert(Vector256.IsHardwareAccelerated); 1204Debug.Assert(Vector256.IsHardwareAccelerated);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (1)
77if (Vector256.IsHardwareAccelerated && TUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (2)
98if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && x.Length >= Vector256<T>.Count) 243if (Vector256.IsHardwareAccelerated && x.Length >= Vector256<short>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.Divide.cs (1)
94|| (Vector256.IsHardwareAccelerated && IsInt32Like<T>());
System\Numerics\Tensors\netcore\TensorPrimitives.HammingDistance.cs (1)
77if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && x.Length >= Vector256<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
239if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && x.Length >= Vector256<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
472if (Vector256.IsHardwareAccelerated && Vector256<T>.IsSupported && x.Length >= Vector256<T>.Count)
System.Private.CoreLib (83)
src\libraries\System.Private.CoreLib\src\System\Buffers\Binary\BinaryPrimitives.ReverseEndianness.cs (2)
308if (Vector256.IsHardwareAccelerated) 340if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (2)
183else if (Vector256.IsHardwareAccelerated) 428else if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (1)
2499if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (2)
170if (Vector256.IsHardwareAccelerated && length >= Vector256<ushort>.Count) 455if (Vector256.IsHardwareAccelerated && searchSpaceMinusValueTailLength - Vector256<ushort>.Count >= 0)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (5)
832if (Vector256.IsHardwareAccelerated) 1658if (Vector256.IsHardwareAccelerated) 1912if (Vector256.IsHardwareAccelerated) 3811if (Vector256.IsHardwareAccelerated) 3855if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256.cs (32)
52get => IsHardwareAccelerated; 739else if (IsHardwareAccelerated) 820if (IsHardwareAccelerated) 837if (IsHardwareAccelerated) 1624if (IsHardwareAccelerated) 1642if (IsHardwareAccelerated) 1725if (IsHardwareAccelerated) 1742if (IsHardwareAccelerated) 1977if (IsHardwareAccelerated) 1994if (IsHardwareAccelerated) 2278if (IsHardwareAccelerated) 2296if (IsHardwareAccelerated) 2481if (IsHardwareAccelerated) 2498if (IsHardwareAccelerated) 2515if (IsHardwareAccelerated) 2532if (IsHardwareAccelerated) 2550if (IsHardwareAccelerated) 2568if (IsHardwareAccelerated) 2586if (IsHardwareAccelerated) 2604if (IsHardwareAccelerated) 2622if (IsHardwareAccelerated) 2640if (IsHardwareAccelerated) 2658if (IsHardwareAccelerated) 2676if (IsHardwareAccelerated) 2694if (IsHardwareAccelerated) 2712if (IsHardwareAccelerated) 2967if (IsHardwareAccelerated) 2985if (IsHardwareAccelerated) 3775if (IsHardwareAccelerated) 3792if (IsHardwareAccelerated) 3816if (IsHardwareAccelerated) 3836if (IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (2)
395if (Vector256.IsHardwareAccelerated) 470get => Vector256.IsHardwareAccelerated;
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (2)
189if (Vector256.IsHardwareAccelerated) 211if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesPackedThreeChars.cs (1)
138else if (Vector256.IsHardwareAccelerated && Avx2.IsSupported && searchSpaceMinusValueTailLength - Vector256<byte>.Count >= 0)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesThreeChars.cs (1)
138else if (Vector256.IsHardwareAccelerated && searchSpaceMinusValueTailLength - Vector256<ushort>.Count >= 0)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Byte.cs (5)
127else if (Vector256.IsHardwareAccelerated && searchSpaceMinusValueTailLength - Vector256<byte>.Count >= 0) 346else if (Vector256.IsHardwareAccelerated && searchSpaceMinusValueTailLength >= Vector256<byte>.Count) 633else if (Vector256.IsHardwareAccelerated) 853else if (Vector256.IsHardwareAccelerated && length >= (nuint)Vector256<byte>.Count) 976if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Char.cs (3)
138else if (Vector256.IsHardwareAccelerated && searchSpaceMinusValueTailLength - Vector256<ushort>.Count >= 0) 363else if (Vector256.IsHardwareAccelerated && searchSpaceMinusValueTailLength >= Vector256<ushort>.Count) 725else if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (15)
1399else if (Vector256.IsHardwareAccelerated && length >= Vector256<T>.Count) 1590else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 1816else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2023else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2181else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2345else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2496else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2661else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2846else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 2996else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 3098if (!Vector256.IsHardwareAccelerated || length < (uint)Vector256<T>.Count) 3256else if (Vector256.IsHardwareAccelerated && length >= Vector256<TValue>.Count) 3513else if (!Vector256.IsHardwareAccelerated || length < Vector256<T>.Count) 3660else if (!Vector256.IsHardwareAccelerated || length < Vector256<T>.Count) 3800else if (Vector256.IsHardwareAccelerated && length >= Vector256<T>.Count)
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
1307else if (Vector256.IsHardwareAccelerated && length >= (uint)Vector256<ushort>.Count) 2072else if (Vector256.IsHardwareAccelerated && lengthToExamine >= (uint)Vector256<ushort>.Count*2)
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.CaseConversion.cs (1)
479if (Vector256.IsHardwareAccelerated)
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (7)
116!Vector256.IsHardwareAccelerated && 179else if (Vector256.IsHardwareAccelerated && bufferLength >= 2 * (uint)Vector256<byte>.Count) 736!Vector256.IsHardwareAccelerated && 799else if (Vector256.IsHardwareAccelerated && bufferLength >= 2 * (uint)Vector256<ushort>.Count) 1377else if (Vector256.IsHardwareAccelerated && elementCount >= 2 * (uint)Vector256<byte>.Count) 1839Debug.Assert(Vector256.IsHardwareAccelerated, "Vector256 is required."); 2079else if (Vector256.IsHardwareAccelerated && (elementCount - currentOffset) >= (uint)Vector256<byte>.Count)
System.Runtime.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
136while (Vector256.IsHardwareAccelerated && d.Length - offset >= Vector256<uint>.Count)
Test.Utilities (6)
src\Compilers\Core\Portable\Hashing\XxHashShared.cs (6)
346if (Vector256.IsHardwareAccelerated) 403if (Vector256.IsHardwareAccelerated) 492if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 528if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 633if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian) 727if (Vector256.IsHardwareAccelerated && BitConverter.IsLittleEndian)