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
797bf4bd
Commit
797bf4bd
authored
Nov 29, 2019
by
Stephan Seitz
Browse files
Fix unused parameter
parent
3b21e27a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pystencils_autodiff/tensorflow_jit.py
View file @
797bf4bd
...
...
@@ -139,7 +139,7 @@ if pystencils.gpucuda.cudajit.USE_FAST_MATH:
def
compile_file
(
file
,
use_nvcc
=
False
,
nvcc
=
'nvcc'
,
nvcc
=
None
,
overwrite_destination_file
=
True
,
additional_compile_flags
=
[],
openmp
=
True
):
...
...
@@ -148,7 +148,7 @@ def compile_file(file,
import
tensorflow
as
tf
if
use_nvcc
:
command_prefix
=
[
NVCC_BINARY
,
command_prefix
=
[
nvcc
or
NVCC_BINARY
,
'--expt-relaxed-constexpr'
,
'-ccbin'
,
get_compiler_config
()[
'tensorflow_host_compiler'
],
...
...
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