Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Plewinski
pystencils
Commits
305107fa
Commit
305107fa
authored
Jul 15, 2019
by
Martin Bauer
Browse files
Bugfix: GPU boundary kernels
parent
95934162
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/gpucuda/kernelcreation.py
View file @
305107fa
...
...
@@ -122,7 +122,7 @@ def created_indexed_cuda_kernel(assignments, index_fields, function_name="kernel
function_body
=
Block
(
coordinate_symbol_assignments
+
assignments
)
function_body
=
indexing
.
guard
(
function_body
,
get_common_shape
(
index_fields
))
ast
=
KernelFunction
(
function_body
,
'gpu'
,
'gpucuda'
,
make_python_function
,
function_name
)
ast
=
KernelFunction
(
function_body
,
'gpu'
,
'gpucuda'
,
make_python_function
,
None
,
function_name
)
ast
.
global_variables
.
update
(
indexing
.
index_variables
)
coord_mapping
=
indexing
.
coordinates
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment