parent
a5a69f5829
commit
69c7ef0fbd
4 changed files with 7 additions and 7 deletions
|
@ -28,10 +28,10 @@ verbosity = 'brief' # Verbosity level: 'none', 'brief', 'full'
|
||||||
|
|
||||||
def _find_compiler_bindir():
|
def _find_compiler_bindir():
|
||||||
patterns = [
|
patterns = [
|
||||||
'C:/Program Files (x86)/Microsoft Visual Studio/*/Professional/VC/Tools/MSVC/*/bin/Hostx64/x64',
|
'C:/Program Files*/Microsoft Visual Studio/*/Professional/VC/Tools/MSVC/*/bin/Hostx64/x64',
|
||||||
'C:/Program Files (x86)/Microsoft Visual Studio/*/BuildTools/VC/Tools/MSVC/*/bin/Hostx64/x64',
|
'C:/Program Files*/Microsoft Visual Studio/*/BuildTools/VC/Tools/MSVC/*/bin/Hostx64/x64',
|
||||||
'C:/Program Files (x86)/Microsoft Visual Studio/*/Community/VC/Tools/MSVC/*/bin/Hostx64/x64',
|
'C:/Program Files*/Microsoft Visual Studio/*/Community/VC/Tools/MSVC/*/bin/Hostx64/x64',
|
||||||
'C:/Program Files (x86)/Microsoft Visual Studio */vc/bin',
|
'C:/Program Files*/Microsoft Visual Studio */vc/bin',
|
||||||
]
|
]
|
||||||
for pattern in patterns:
|
for pattern in patterns:
|
||||||
matches = sorted(glob.glob(pattern))
|
matches = sorted(glob.glob(pattern))
|
||||||
|
|
|
@ -43,7 +43,7 @@ def _init():
|
||||||
sources=['bias_act.cpp', 'bias_act.cu'],
|
sources=['bias_act.cpp', 'bias_act.cu'],
|
||||||
headers=['bias_act.h'],
|
headers=['bias_act.h'],
|
||||||
source_dir=os.path.dirname(__file__),
|
source_dir=os.path.dirname(__file__),
|
||||||
extra_cuda_cflags=['--use_fast_math'],
|
extra_cuda_cflags=['--use_fast_math', '--allow-unsupported-compiler'],
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ def _init():
|
||||||
sources=['filtered_lrelu.cpp', 'filtered_lrelu_wr.cu', 'filtered_lrelu_rd.cu', 'filtered_lrelu_ns.cu'],
|
sources=['filtered_lrelu.cpp', 'filtered_lrelu_wr.cu', 'filtered_lrelu_rd.cu', 'filtered_lrelu_ns.cu'],
|
||||||
headers=['filtered_lrelu.h', 'filtered_lrelu.cu'],
|
headers=['filtered_lrelu.h', 'filtered_lrelu.cu'],
|
||||||
source_dir=os.path.dirname(__file__),
|
source_dir=os.path.dirname(__file__),
|
||||||
extra_cuda_cflags=['--use_fast_math'],
|
extra_cuda_cflags=['--use_fast_math', '--allow-unsupported-compiler'],
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ def _init():
|
||||||
sources=['upfirdn2d.cpp', 'upfirdn2d.cu'],
|
sources=['upfirdn2d.cpp', 'upfirdn2d.cu'],
|
||||||
headers=['upfirdn2d.h'],
|
headers=['upfirdn2d.h'],
|
||||||
source_dir=os.path.dirname(__file__),
|
source_dir=os.path.dirname(__file__),
|
||||||
extra_cuda_cflags=['--use_fast_math'],
|
extra_cuda_cflags=['--use_fast_math', '--allow-unsupported-compiler'],
|
||||||
)
|
)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue