30 references to IsSupported
System.Numerics.Tensors (28)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IAggregationOperator.cs (2)
92
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TTransformOperator.Vectorizable)
1211
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TBinaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBinaryOperator.cs (2)
103
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TBinaryOperator.Vectorizable)
1435
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TTransformOperator.Vectorizable && TBinaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (5)
111
if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.
IsSupported
)
248
if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.
IsSupported
)
359
if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.
IsSupported
)
480
if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.
IsSupported
)
617
if (Vector256.IsHardwareAccelerated && TOperator.Vectorizable && Vector256<T>.
IsSupported
)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IIndexOfMinMaxOperator.cs (1)
39
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& x.Length >= Vector256<T>.Count)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IStatefulUnaryOperator.cs (1)
69
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TStatefulUnaryOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.ITernaryOperator.cs (3)
90
if (TTernaryOperator.Vectorizable && Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
)
1565
if (TTernaryOperator.Vectorizable && Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
)
3051
if (TTernaryOperator.Vectorizable && Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryInputBinaryOutput.cs (3)
100
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TUnaryOperator.Vectorizable)
253
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TOperator.Vectorizable)
436
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& TOperator.Vectorizable)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToFourOperator.cs (2)
83
Debug.Assert(Vector256<TInput>.
IsSupported
);
84
Debug.Assert(Vector256<TOutput>.
IsSupported
);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOneToTwoOperator.cs (2)
79
Debug.Assert(Vector256<TInput>.
IsSupported
);
80
Debug.Assert(Vector256<TOutput>.
IsSupported
);
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryOperator.cs (2)
109
if (Vector256.IsHardwareAccelerated && Vector256<TInput>.
IsSupported
&& Vector256<TOutput>.
IsSupported
&& TUnaryOperator.Vectorizable && sizeof(TInput) == sizeof(TOutput))
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IUnaryTwoToOneOperator.cs (2)
79
Debug.Assert(Vector256<TInput>.
IsSupported
);
80
Debug.Assert(Vector256<TOutput>.
IsSupported
);
System\Numerics\Tensors\netcore\TensorPrimitives.CosineSimilarity.cs (1)
98
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& x.Length >= Vector256<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.HammingDistance.cs (1)
77
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& x.Length >= Vector256<T>.Count)
System\Numerics\Tensors\netcore\TensorPrimitives.Max.cs (1)
205
if (Vector256.IsHardwareAccelerated && Vector256<T>.
IsSupported
&& x.Length >= Vector256<T>.Count)
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
119
internal string DisplayString =>
IsSupported
? ToString() : SR.NotSupported_Type;
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
829
if (!Vector256<T>.
IsSupported
)