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
Stephan Seitz
pystencils
Commits
5e7d3c9c
Commit
5e7d3c9c
authored
Nov 29, 2019
by
Stephan Seitz
Browse files
Update tests for new function-call-printing
parent
a1c374cc
Pipeline
#20124
passed with stage
in 21 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pystencils_tests/test_cuda_known_functions.py
View file @
5e7d3c9c
...
...
@@ -32,8 +32,7 @@ def test_cuda_but_not_c():
})
ast
=
pystencils
.
create_kernel
(
assignments
,
'cpu'
)
code
=
str
(
pystencils
.
show_code
(
ast
))
assert
"Not supported"
in
code
print
(
pystencils
.
show_code
(
ast
))
def
test_cuda_unknown
():
...
...
@@ -46,4 +45,3 @@ def test_cuda_unknown():
ast
=
pystencils
.
create_kernel
(
assignments
,
'gpu'
)
code
=
str
(
pystencils
.
show_code
(
ast
))
print
(
code
)
assert
"Not supported in CUDA"
in
code
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