"vscode:/vscode.git/clone" did not exist on "74ea32b90ecd4e0e6fec13bebc8b51dd58fcf8ff"
Commit 42b825fe authored by Jiezhong Qiu's avatar Jiezhong Qiu
Browse files

Merge branch 'master' of github.com:xptree/poly-xfmr

parents 0ab605cc fff1994e
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
import os
CUDA_HELPER = os.environ.get('CUDA_HELPER', '/usr/local/cuda/samples/common/inc')
setup(
name='moe_cuda',
......@@ -10,10 +13,10 @@ setup(
'moe.cpp',
'moe_cuda_kernel.cu',
],
extra_compile_args={'cxx': ['-I/usr/local/cuda/samples/common/inc'],
'nvcc': ['-I/usr/local/cuda/samples/common/inc']}
extra_compile_args={'cxx': ['-I{}'.format(CUDA_HELPER)],
'nvcc': ['-I{}'.format(CUDA_HELPER)]}
)
],
cmdclass={
'build_ext': BuildExtension
})
\ No newline at end of file
})
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