int_4::int_4 构造函数

默认构造函数,初始化 0 的所有元素。

int_4() restrict(amp,cpu);
int_4(
   int _V0,
   int _V1,
   int _V2,
   int _V3
) restrict(amp,cpu);
int_4(
   int _V
) restrict(amp,cpu);
int_4(
   const int_4& _Other
) restrict(amp,cpu);
explicit inline int_4(
   const uint_4& _Other
) restrict(amp,cpu);
explicit inline int_4(
   const float_4& _Other
) restrict(amp,cpu);
explicit inline int_4(
   const unorm_4& _Other
) restrict(amp,cpu);
explicit inline int_4(
   const norm_4& _Other
) restrict(amp,cpu);
explicit inline int_4(
   const double_4& _Other
) restrict(amp,cpu);

参数

  • _V0
    初始化组件的值 0。

  • _V1
    初始化组件的值 1。

  • _V2
    初始化组件的值 2。

  • _V3
    初始化组件的值 3。

  • _V
    初始化值。

  • _Other
    用于初始化对象。

要求

标题: amp_short_vectors.h

命名空间: 并发:: 图像

请参见

参考

int_4 类