Table of Contents

Property YShuffleG4X2_AcceleratedTypes

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YShuffleG4X2_AcceleratedTypes

Types with hardware acceleration when running YShuffleG4X2 (运行 YShuffleG4X2 时具有硬件加速的类型).

public static TypeCodeFlags YShuffleG4X2_AcceleratedTypes { get; }

Property Value

TypeCodeFlags

Remarks

Meaning of suffixes (后缀的含义).

- (none): Normal (常规).

- Const: Constant version. This version can be used if you can ensure that the parameters are constants. It can take advantage of constants and make better use of hardware acceleration (常量版. 若能确保参数是常量, 可使用该版本. 它能利用常量, 更好的使用硬件加速).

Similar methods (相似的方法).

- YShuffleG2(Vector<byte>, ShuffleControlG2): For each 2-element group in a vector, shuffle is performed (对于一个向量中的每个 2-元素组, 进行换位).

- YShuffleG4(Vector<byte>, ShuffleControlG4): For each 4-element group in a vector, shuffle is performed (对于一个向量中的每个 4-元素组, 进行换位). If the count of elements in a vector is less than 4, please use YShuffleG4X2 instead (如果向量的元素数量小于4,请使用 YShuffleG4X2 代替).

- YShuffleG4X2(Vector<byte>, Vector<byte>, ShuffleControlG4, out Vector<byte>): For each 4-element group in two vector, shuffle is performed (对于两个向量中的每个 4-元素组, 进行换位).

See Also