Skip to content

Commit

Permalink
change to c++-14, works with pt1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravkuppa committed Aug 20, 2020
1 parent bf67b22 commit 1e365db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion networks/channelnorm_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension

cxx_args = ['-std=c++11']
cxx_args = ['-std=c++14']

nvcc_args = [
'-gencode', 'arch=compute_52,code=sm_52',
Expand Down
2 changes: 1 addition & 1 deletion networks/correlation_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup, find_packages
from torch.utils.cpp_extension import BuildExtension, CUDAExtension

cxx_args = ['-std=c++11']
cxx_args = ['-std=c++14']

nvcc_args = [
'-gencode', 'arch=compute_50,code=sm_50',
Expand Down
2 changes: 1 addition & 1 deletion networks/resample2d_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension

cxx_args = ['-std=c++11']
cxx_args = ['-std=c++14']

nvcc_args = [
'-gencode', 'arch=compute_50,code=sm_50',
Expand Down

0 comments on commit 1e365db

Please sign in to comment.