Skip to content

Commit

Permalink
i should convince myself it is not flaky test first
Browse files Browse the repository at this point in the history
  • Loading branch information
Jian Weng committed Jan 14, 2019
1 parent 4a18714 commit f1a079d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/langref/hybrid_script.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,23 @@ to LLVM module.
Tuning
~~~~~~

**Under construction, not supported yet.**

Follow up the example above, you can use some tvm like interfaces to tune the code:

.. code-block:: python
i, j = c.op.axis
sch = tvm.create_schedule(op)
jo, ji = sch.split(j, 4)
sch.vectorize(ji)
``split``, ``reorder``, and loop_annotation will be supported!
For now, you can use loop annotations (``unroll``, ``parallel``, ``vectorize``, and ``bind``),
loop manipulation (``split`` and ``fuse``), and ``reorder``.

.. note::

This is a preliminary function, so users should be in charge of the correctness
of the functionality after tuning. Specifically, users should be careful when
fusing and reorderding imperfect loops.

Loops
~~~~~
Expand Down

0 comments on commit f1a079d

Please sign in to comment.