Open
docs: align API prototypes with implementation #97
docs: align API prototypes with implementation #97
Open
SuneeAdd on Oct 24
Total: 2 files changed+2-2
@@ -8,7 +8,7 @@ kernel层schedule基类,默认调度策略和用户自定义调度策略必须
8template <typename BlockOp, const auto &Policy, typename ScheduleCfg>8template <typename BlockOp, const auto &Policy, typename ScheduleCfg>
9class BaseKernelSchedule {9class 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```Cpp7```Cpp
8template <std::size_t N, typename T = void, typename L>8template <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>