产品 |
是否支持 |
|---|---|
Ascend 950PR/Ascend 950DT |
√ |
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
将传入的数据打包成Coord数据结构。
template <typename... Ts> __aicore__ inline constexpr Coord<Ts...> MakeCoord(Ts const&... t)
参数名 |
输入/输出 |
描述 |
|---|---|---|
t |
输入 |
表示输入数据类型的形参包,具体使用方法和约束说明同Std::tuple。 输入的数据类型支持size_t和Std::Int。 |
Coord结构类型(Std::tuple类型的别名)。
无
1 2 3 | auto blockCoordM = Std::Int<11>{}; auto blockCoordN = Std::Int<12>{}; auto coord = AscendC::MakeCoord(blockCoordM, blockCoordN); |