File size: 321 Bytes
bcb05d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension

setup(
    name='udf_ext',
    ext_modules=[
        CUDAExtension('udf_ext', [
            'src/udf_kernel.cu',
            'src/udf_cuda.cpp'
        ]),
    ],
    cmdclass={
        'build_ext': BuildExtension
    }
)