Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephan Seitz
pystencils
Commits
98291ce5
Commit
98291ce5
authored
Dec 16, 2019
by
Stephan Seitz
Browse files
Change block_size -> block_and_thread_numbers
parent
ba7b20ac
Pipeline
#20527
passed with stage
in 7 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pystencils/gpucuda/indexing.py
View file @
98291ce5
...
...
@@ -125,7 +125,7 @@ class AbstractIndexing(abc.ABC):
pycuda
.
driver
.
Context
.
synchronize
()
current_time
=
timeit
.
timeit
(
profile_call
,
number
=
1
)
print
(
f
'
{
block_size
}
takes
{
current_time
}
(
{
num_profile_calls
}
)'
)
print
(
f
'
{
self
.
_
block_size
}
takes
{
current_time
}
(
{
num_profile_calls
}
)'
)
if
current_time
<
best_timing
:
best_timing
=
current_time
current_best
=
block_and_thread_numbers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment