Table of Contents

Method YShuffleKernel_Args

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YShuffleKernel_Args<TIdx>(Vector512<TIdx>, out Vector512<TIdx>, out Vector512<TIdx>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static void YShuffleKernel_Args<TIdx>(Vector512<TIdx> indices, out Vector512<TIdx> args0, out Vector512<TIdx> args1) where TIdx : struct

Parameters

indices Vector512<TIdx>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<TIdx>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<TIdx>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

Type Parameters

TIdx

The element type of the indices parameter (索引参数的元素类型).

Exceptions

NotSupportedException

These element types(TIdx) are not supported.

See Also

YShuffleKernel_Args<TIdx>(Vector512<TIdx>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector512<TIdx> args0, Vector512<TIdx> args1) YShuffleKernel_Args<TIdx>(Vector512<TIdx> indices) where TIdx : struct

Parameters

indices Vector512<TIdx>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<TIdx> args0, Vector512<TIdx> args1)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

Type Parameters

TIdx

The element type of the indices parameter (索引参数的元素类型).

Exceptions

NotSupportedException

These element types(TIdx) are not supported.

See Also

YShuffleKernel_Args(Vector512<sbyte>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static (Vector512<sbyte> args0, Vector512<sbyte> args1) YShuffleKernel_Args(Vector512<sbyte> indices)

Parameters

indices Vector512<sbyte>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<sbyte> args0, Vector512<sbyte> args1)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<byte>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static (Vector512<byte> args0, Vector512<byte> args1) YShuffleKernel_Args(Vector512<byte> indices)

Parameters

indices Vector512<byte>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<byte> args0, Vector512<byte> args1)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<short>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static (Vector512<short> args0, Vector512<short> args1) YShuffleKernel_Args(Vector512<short> indices)

Parameters

indices Vector512<short>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<short> Lower, Vector512<short> Upper)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<ushort>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static (Vector512<ushort> args0, Vector512<ushort> args1) YShuffleKernel_Args(Vector512<ushort> indices)

Parameters

indices Vector512<ushort>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<ushort> Lower, Vector512<ushort> Upper)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<int>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static (Vector512<int> args0, Vector512<int> args1) YShuffleKernel_Args(Vector512<int> indices)

Parameters

indices Vector512<int>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<int> Lower, Vector512<int> Upper)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<uint>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static (Vector512<uint> args0, Vector512<uint> args1) YShuffleKernel_Args(Vector512<uint> indices)

Parameters

indices Vector512<uint>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<uint> Lower, Vector512<uint> Upper)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<long>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static (Vector512<long> args0, Vector512<long> args1) YShuffleKernel_Args(Vector512<long> indices)

Parameters

indices Vector512<long>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<long> Lower, Vector512<long> Upper)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<ulong>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static (Vector512<ulong> args0, Vector512<ulong> args1) YShuffleKernel_Args(Vector512<ulong> indices)

Parameters

indices Vector512<ulong>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

(Vector512<ulong> Lower, Vector512<ulong> Upper)

The arguments provided for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数).

See Also

YShuffleKernel_Args(Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static void YShuffleKernel_Args(Vector512<sbyte> indices, out Vector512<sbyte> args0, out Vector512<sbyte> args1)

Parameters

indices Vector512<sbyte>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<sbyte>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<sbyte>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<byte>, out Vector512<byte>, out Vector512<byte>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static void YShuffleKernel_Args(Vector512<byte> indices, out Vector512<byte> args0, out Vector512<byte> args1)

Parameters

indices Vector512<byte>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<byte>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<byte>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<short>, out Vector512<short>, out Vector512<short>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static void YShuffleKernel_Args(Vector512<short> indices, out Vector512<short> args0, out Vector512<short> args1)

Parameters

indices Vector512<short>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<short>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<short>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static void YShuffleKernel_Args(Vector512<ushort> indices, out Vector512<ushort> args0, out Vector512<ushort> args1)

Parameters

indices Vector512<ushort>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<ushort>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<ushort>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<int>, out Vector512<int>, out Vector512<int>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static void YShuffleKernel_Args(Vector512<int> indices, out Vector512<int> args0, out Vector512<int> args1)

Parameters

indices Vector512<int>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<int>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<int>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<uint>, out Vector512<uint>, out Vector512<uint>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static void YShuffleKernel_Args(Vector512<uint> indices, out Vector512<uint> args0, out Vector512<uint> args1)

Parameters

indices Vector512<uint>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<uint>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<uint>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<long>, out Vector512<long>, out Vector512<long>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

public static void YShuffleKernel_Args(Vector512<long> indices, out Vector512<long> args0, out Vector512<long> args1)

Parameters

indices Vector512<long>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<long>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<long>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also

YShuffleKernel_Args(Vector512<ulong>, out Vector512<ulong>, out Vector512<ulong>)

Arguments calculation for only shuffle (仅换位的参数计算). Provide arguments for YShuffleKernel_Core (为 YShuffleKernel_Core 提供参数). If the index value is out of range, the result is undefined (若索引值超出范围, 结果是未定义的). You can use the IndexMask to constrain the parameters (可使用 IndexMask 掩码来约束参数). Mnemonic: rt[i] := vector[indices[i]]. Conditions: 0<=indices[i] && indices[i]<Count.

[CLSCompliant(false)]
public static void YShuffleKernel_Args(Vector512<ulong> indices, out Vector512<ulong> args0, out Vector512<ulong> args1)

Parameters

indices Vector512<ulong>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<ulong>

Arguments 0 (参数0). Used for YShuffleKernel_Core .

args1 Vector512<ulong>

Arguments 1 (参数1). Used for YShuffleKernel_Core .

See Also