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
7e7f127f
Commit
7e7f127f
authored
Nov 29, 2019
by
Stephan Seitz
Browse files
Oops -fopenmp should go into hash
parent
797bf4bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pystencils_autodiff/tensorflow_jit.py
View file @
7e7f127f
...
...
@@ -175,9 +175,9 @@ def compile_file(file,
*
additional_compile_flags
,
_output_flag
]
destination_file
=
f
'
{
file
}
_
{
_hash
(
"."
.
join
(
command_prefix
).
encode
()).
hexdigest
()
}{
_object_file_extension
}
'
if
openmp
:
command_prefix
.
append
(
_output_flag
)
destination_file
=
f
'
{
file
}
_
{
_hash
(
"."
.
join
(
command_prefix
).
encode
()).
hexdigest
()
}{
_object_file_extension
}
'
if
not
exists
(
destination_file
)
or
overwrite_destination_file
:
command
=
command_prefix
+
[
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