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
pycodegen
pystencils_autodiff
Commits
60c9f471
Commit
60c9f471
authored
Nov 29, 2019
by
Stephan Seitz
Browse files
Put openmp in spot where its allowed
parent
7e7f127f
Pipeline
#20137
failed with stage
in 1 minute and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/pystencils_autodiff/tensorflow_jit.py
View file @
60c9f471
...
...
@@ -176,7 +176,7 @@ def compile_file(file,
_output_flag
]
if
openmp
:
command_prefix
.
append
(
_output_flag
)
command_prefix
.
insert
(
2
,
_output_flag
)
destination_file
=
f
'
{
file
}
_
{
_hash
(
"."
.
join
(
command_prefix
).
encode
()).
hexdigest
()
}{
_object_file_extension
}
'
if
not
exists
(
destination_file
)
or
overwrite_destination_file
:
...
...
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