Open
docs: align API prototypes with implementation #97
SuneeAdd on Oct 24
docs: align API prototypes with implementation #97
Open
Total: 2 files changed+2-2
| @@ -8,7 +8,7 @@ kernel层schedule基类,默认调度策略和用户自定义调度策略必须 | |||
| 8 | template <typename BlockOp, const auto &Policy, typename ScheduleCfg> | 8 | template <typename BlockOp, const auto &Policy, typename ScheduleCfg> |
| 9 | class BaseKernelSchedule { | 9 | class BaseKernelSchedule { |
| 10 | template <typename OpParam, typename... Args> | 10 | template <typename OpParam, typename... Args> |
| 11 | - aicore inline void Run(OpParam& cfg, Args... args) | 11 | + __aicore__ inline void Run(OpParam& cfg, Args... args) |
| 12 | } | 12 | } |
| 13 | ``` | 13 | ``` |
| 14 | ## 参数说明 | 14 | ## 参数说明 |
| @@ -6,7 +6,7 @@ | |||
| 6 | ## 函数原型 | 6 | ## 函数原型 |
| 7 | ```Cpp | 7 | ```Cpp |
| 8 | template <std::size_t N, typename T = void, typename L> | 8 | template <std::size_t N, typename T = void, typename L> |
| 9 | -__host_aicore__ constexpr auto PlaceHolderTmpLike(Expression) | 9 | +__host_aicore__ constexpr auto PlaceHolderTmpLike(Expression<L>) |
| 10 | ``` | 10 | ``` |
| 11 | ## 参数说明 | 11 | ## 参数说明 |
| 12 | <table style="undefined;table-layout: fixed; width: 1300px"><colgroup> | 12 | <table style="undefined;table-layout: fixed; width: 1300px"><colgroup> |