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
Ben Sepanski
loopy
Commits
588e17d4
Commit
588e17d4
authored
8 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Flake8 fixes
parent
495b8986
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
loopy/kernel/__init__.py
+2
-2
2 additions, 2 deletions
loopy/kernel/__init__.py
loopy/kernel/data.py
+1
-1
1 addition, 1 deletion
loopy/kernel/data.py
loopy/kernel/instruction.py
+2
-2
2 additions, 2 deletions
loopy/kernel/instruction.py
loopy/schedule/__init__.py
+6
-6
6 additions, 6 deletions
loopy/schedule/__init__.py
with
11 additions
and
11 deletions
loopy/kernel/__init__.py
+
2
−
2
View file @
588e17d4
...
...
@@ -1175,8 +1175,8 @@ class LoopKernel(RecordWithoutPickling):
import
loopy
as
lp
Fore
=
self
.
options
.
_fore
Style
=
self
.
options
.
_style
Fore
=
self
.
options
.
_fore
# noqa
Style
=
self
.
options
.
_style
# noqa
from
loopy.kernel.tools
import
draw_dependencies_as_unicode_arrows
for
insn
,
(
arrows
,
extender
)
in
zip
(
...
...
This diff is collapsed.
Click to expand it.
loopy/kernel/data.py
+
1
−
1
View file @
588e17d4
...
...
@@ -289,7 +289,7 @@ class InameArg(ValueArg):
# {{{ temporary variable
class
temp_var_scope
:
class
temp_var_scope
:
# noqa
"""
Storage location of a temporary
.. attribute:: PRIVATE
...
...
This diff is collapsed.
Click to expand it.
loopy/kernel/instruction.py
+
2
−
2
View file @
588e17d4
...
...
@@ -502,7 +502,7 @@ def _get_assignee_subscript_deps(expr):
# {{{ atomic ops
class
memory_ordering
:
class
memory_ordering
:
# noqa
"""
Ordering of atomic operations, defined as in C11 and OpenCL.
.. attribute:: relaxed
...
...
@@ -530,7 +530,7 @@ class memory_ordering:
raise
ValueError
(
"
Unknown value of memory_ordering
"
)
class
memory_scope
:
class
memory_scope
:
# noqa
"""
Scope of atomicity, defined as in OpenCL.
.. attribute:: auto
...
...
This diff is collapsed.
Click to expand it.
loopy/schedule/__init__.py
+
6
−
6
View file @
588e17d4
...
...
@@ -416,15 +416,15 @@ def sched_item_to_insn_id(sched_item):
# {{{ debug help
def
format_insn_id
(
kernel
,
insn_id
):
Fore
=
kernel
.
options
.
_fore
Style
=
kernel
.
options
.
_style
Fore
=
kernel
.
options
.
_fore
# noqa
Style
=
kernel
.
options
.
_style
# noqa
return
Fore
.
GREEN
+
insn_id
+
Style
.
RESET_ALL
def
format_insn
(
kernel
,
insn_id
):
insn
=
kernel
.
id_to_insn
[
insn_id
]
Fore
=
kernel
.
options
.
_fore
Style
=
kernel
.
options
.
_style
Fore
=
kernel
.
options
.
_fore
# noqa
Style
=
kernel
.
options
.
_style
# noqa
from
loopy.kernel.instruction
import
(
MultiAssignmentBase
,
NoOpInstruction
,
BarrierInstruction
)
if
isinstance
(
insn
,
MultiAssignmentBase
):
...
...
@@ -645,8 +645,8 @@ def generate_loop_schedules_internal(
# to give loops containing high-priority instructions a chance.
kernel
=
sched_state
.
kernel
Fore
=
kernel
.
options
.
_fore
Style
=
kernel
.
options
.
_style
Fore
=
kernel
.
options
.
_fore
# noqa
Style
=
kernel
.
options
.
_style
# noqa
if
allow_boost
is
None
:
rec_allow_boost
=
None
...
...
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