-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
25 lines (24 loc) · 910 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -------------------------------------------------------------------
# Copyright (C) 2020 Università degli studi di Milano-Bicocca, iralab
# Author: Daniele Cattaneo ([email protected])
# Released under Creative Commons
# Attribution-NonCommercial-ShareAlike 4.0 International License.
# http://creativecommons.org/licenses/by-nc-sa/4.0/
# -------------------------------------------------------------------
from setuptools import setup
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
setup(
name='visibility',
version='0.1',
author="Daniele Cattaneo",
author_email="[email protected]",
url="https://github.com/catta202000/CMRNet",
ext_modules=[
CUDAExtension('visibility', [
'src/visibility.cpp',
'src/visibility_kernel.cu',
])
],
cmdclass={
'build_ext': BuildExtension
})