32 references to IsSupported
System.Linq (1)
System\Linq\MaxMin.cs (1)
40
if (!Vector128.IsHardwareAccelerated || !Vector128<T>.
IsSupported
|| span.Length < Vector128<T>.Count)
System.Numerics.Tensors (28)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (2)
112
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TTransformOperator.Vectorizable)
1231
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TBinaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (2)
121
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TBinaryOperator.Vectorizable)
1453
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TTransformOperator.Vectorizable && TBinaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (5)
156
if (Vector128.IsHardwareAccelerated && TOperator.Vectorizable && Vector128<T>.
IsSupported
)
296
if (Vector128.IsHardwareAccelerated && TOperator.Vectorizable && Vector128<T>.
IsSupported
)
410
if (Vector128.IsHardwareAccelerated && TOperator.Vectorizable && Vector128<T>.
IsSupported
)
535
if (Vector128.IsHardwareAccelerated && TOperator.Vectorizable && Vector128<T>.
IsSupported
)
682
if (Vector128.IsHardwareAccelerated && TOperator.Vectorizable && Vector128<T>.
IsSupported
)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (1)
87
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TStatefulUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (3)
108
if (TTernaryOperator.Vectorizable && Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
)
1583
if (TTernaryOperator.Vectorizable && Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
)
3069
if (TTernaryOperator.Vectorizable && Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (3)
130
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TUnaryOperator.Vectorizable)
301
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TOperator.Vectorizable)
486
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& TOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (2)
120
Debug.Assert(Vector128<TInput>.
IsSupported
);
121
Debug.Assert(Vector128<TOutput>.
IsSupported
);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (2)
112
Debug.Assert(Vector128<TInput>.
IsSupported
);
113
Debug.Assert(Vector128<TOutput>.
IsSupported
);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (2)
127
if (Vector128.IsHardwareAccelerated && Vector128<TInput>.
IsSupported
&& Vector128<TOutput>.
IsSupported
&& TUnaryOperator.Vectorizable && sizeof(TInput) == sizeof(TOutput))
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (2)
112
Debug.Assert(Vector128<TInput>.
IsSupported
);
113
Debug.Assert(Vector128<TOutput>.
IsSupported
);
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (1)
135
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& x.Length >= Vector128<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.HammingDistance.cs (1)
75
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& x.Length >= Vector128<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (1)
330
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& x.Length >= Vector128<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
538
if (Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
&& x.Length >= Vector128<T>.Count)
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
120
internal string DisplayString =>
IsSupported
? ToString() : SR.NotSupported_Type;
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (1)
3094
Debug.Assert(Vector128.IsHardwareAccelerated && Vector128<T>.
IsSupported
, "Vector128 is not HW-accelerated or not supported");
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
829
if (!Vector128<T>.
IsSupported
)