Skip to content
Snippets Groups Projects
Commit 85af2582 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Do not use "..obj" for tensorflow object files

parent 983dec1b
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ def compile_file(file, use_nvcc=False, nvcc='nvcc', overwrite_destination_file=T ...@@ -147,7 +147,7 @@ def compile_file(file, use_nvcc=False, nvcc='nvcc', overwrite_destination_file=T
*additional_compile_flags, *additional_compile_flags,
_output_flag] _output_flag]
destination_file = f'{file}_{_hash(".".join(command_prefix).encode()).hexdigest()}.{_object_file_extension}' destination_file = f'{file}_{_hash(".".join(command_prefix).encode()).hexdigest()}{_object_file_extension}'
if not exists(destination_file) or overwrite_destination_file: if not exists(destination_file) or overwrite_destination_file:
command = command_prefix + [destination_file] command = command_prefix + [destination_file]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment