Commit 797bf4bd authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix unused parameter

parent 3b21e27a
......@@ -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'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment