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