@@ -154,11 +154,11 @@ class ScheduleRule : public runtime::ObjectRef {
154154 * ignored by default. This function should return True for a block that should be tiled.
155155 * \return The schedule rule created
156156 */
157- TVM_DLL static ScheduleRule MultiLevelTiling (String structure, //
158- Optional<Array<String>> tile_binds, //
159- Optional<Integer > max_innermost_factor, //
160- Optional<Array<Integer >> vector_load_lens, //
161- Optional<Map<String, ObjectRef>> reuse_read, //
157+ TVM_DLL static ScheduleRule MultiLevelTiling (String structure, //
158+ Optional<Array<String>> tile_binds, //
159+ Optional<runtime::Int > max_innermost_factor, //
160+ Optional<Array<runtime::Int >> vector_load_lens, //
161+ Optional<Map<String, ObjectRef>> reuse_read, //
162162 Optional<Map<String, ObjectRef>> reuse_write,
163163 Optional<runtime::PackedFunc> filter_fn = NullOpt);
164164
@@ -181,7 +181,7 @@ class ScheduleRule : public runtime::ObjectRef {
181181 */
182182 TVM_DLL static ScheduleRule MultiLevelTilingWithIntrin (
183183 String intrin_name, String structure, Optional<Array<String>> tile_binds,
184- Optional<Integer > max_innermost_factor, Optional<Array<Integer >> vector_load_lens,
184+ Optional<runtime::Int > max_innermost_factor, Optional<Array<runtime::Int >> vector_load_lens,
185185 Optional<Map<String, ObjectRef>> reuse_read, Optional<Map<String, ObjectRef>> reuse_write);
186186
187187 /* !
@@ -206,8 +206,8 @@ class ScheduleRule : public runtime::ObjectRef {
206206 */
207207 TVM_DLL static ScheduleRule MultiLevelTilingTensorCore (
208208 Array<Map<String, String>> intrin_groups, String structure,
209- Optional<Array<String>> tile_binds, Optional<Integer > max_innermost_factor,
210- Optional<Array<Integer >> vector_load_lens, Optional<Map<String, ObjectRef>> reuse_read,
209+ Optional<Array<String>> tile_binds, Optional<runtime::Int > max_innermost_factor,
210+ Optional<Array<runtime::Int >> vector_load_lens, Optional<Map<String, ObjectRef>> reuse_read,
211211 Optional<Map<String, ObjectRef>> reuse_write, bool use_software_pipeline);
212212
213213 /* !
@@ -222,8 +222,9 @@ class ScheduleRule : public runtime::ObjectRef {
222222 * \return The schedule rule created
223223 */
224224 TVM_DLL static ScheduleRule MultiLevelTilingWideVector (
225- String structure, Integer vector_length_in_bits, Optional<Integer> max_innermost_factor,
226- Optional<Map<String, ObjectRef>> reuse_read, Optional<Map<String, ObjectRef>> reuse_write);
225+ String structure, runtime::Int vector_length_in_bits,
226+ Optional<runtime::Int> max_innermost_factor, Optional<Map<String, ObjectRef>> reuse_read,
227+ Optional<Map<String, ObjectRef>> reuse_write);
227228
228229 /* !
229230 * \brief Create a rule: add-rfactor to some blocks if needed
@@ -234,7 +235,7 @@ class ScheduleRule : public runtime::ObjectRef {
234235 * \return The schedule rule created
235236 */
236237 TVM_DLL static ScheduleRule AddRFactor (int max_jobs_per_core, //
237- Optional<Integer > max_innermost_factor);
238+ Optional<runtime::Int > max_innermost_factor);
238239 /* !
239240 * \brief Create a schedule rule which applies cross-thread reduction to some reduction blocks
240241 * correspondingly when needed
@@ -272,7 +273,7 @@ class ScheduleRule : public runtime::ObjectRef {
272273 * when this schedule rule is created.
273274 * \return The schedule rule created
274275 */
275- TVM_DLL static ScheduleRule AutoBind (int max_threadblocks, Array<Integer > thread_extents,
276+ TVM_DLL static ScheduleRule AutoBind (int max_threadblocks, Array<runtime::Int > thread_extents,
276277 int max_threads_per_block = -1 );
277278 /* !
278279 * \brief Create a schedule rule with customized methods on the python-side.
0 commit comments