[python] added basic tensorflow support

This commit is contained in:
Philippe Tillet
2019-08-17 18:18:26 -07:00
parent 078f0052fe
commit b4a9ed9663
24 changed files with 341 additions and 173 deletions

View File

@@ -18,6 +18,7 @@ class CMakeExtension(Extension):
class CMakeBuild(build_ext):
def run(self):
try:
out = subprocess.check_output(['cmake', '--version'])
@@ -80,6 +81,7 @@ setup(
author_email='ptillet@g.harvard.edu',
description='A language and compiler for custom Deep Learning operations',
long_description='',
packages=['triton'],
ext_modules=[CMakeExtension('triton')],
cmdclass=dict(build_ext=CMakeBuild),
zip_safe=False,