Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kaushik Kulkarni
loopy
Commits
758eceea
Commit
758eceea
authored
10 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Document instruction option 'dup'
parent
0de3cfd4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/reference.rst
+9
-0
9 additions, 0 deletions
doc/reference.rst
with
9 additions
and
0 deletions
doc/reference.rst
+
9
−
0
View file @
758eceea
...
...
@@ -247,6 +247,15 @@ These are usually key-value pairs. The following attributes are recognized:
value to indicate that you would like the inames you specify here
to be in addition to the ones found by the heuristic described above.
* ``dup=i:j->j_new:k->k_new`` makes a copy of the inames ``i``, ``j``, and
``k``, with all the same domain constraints as the original inames.
A new name of the copy of ``i`` will be automatically chosen, whereas
the new name of ``j`` will be ``j_new``, and the new name of ``k`` will
be ``k_new``.
This is a shortcut for calling :func:`loopy.duplicate_inames` later
(once the kernel is created).
* ``dep=id1:id2`` creates a dependency of this instruction on the
instructions with identifiers ``id1`` and ``id2``. The meaning of this
dependency is that the code generated for this instruction is required to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment