Vector256.ToVector512<T>(Vector256<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the given vector to a new Vector512<T> with the lower 256-bits set to the value of the given vector and the upper 256-bits initialized to zero.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector512<T> ToVector512(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector512<T> ToVector512<T> (this System.Runtime.Intrinsics.Vector256<T> vector);
static member ToVector512 : System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector512<'T>
<Extension()>
Public Function ToVector512(Of T) (vector As Vector256(Of T)) As Vector512(Of T)
Type Parameters
- T
The type of the input vector.
Parameters
- vector
- Vector256<T>
The vector to extend.
Returns
A new Vector512<T> with the lower 256-bits set to the value of vector
and the upper 256-bits initialized to zero.
Exceptions
The type of vector
(T
) is not supported.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.