cair / tmu

Implements the Tsetlin Machine, Coalesced Tsetlin Machine, Convolutional Tsetlin Machine, Regression Tsetlin Machine, and Weighted Tsetlin Machine, with support for continuous features, drop clause, Type III Feedback, focused negative sampling, multi-task classifier, autoencoder, literal budget, and one-vs-one multi-class classifier. TMU is written in Python with wrappers for C and CUDA-based clause evaluation and updating.
https://pypi.org/project/tmu/
MIT License
126 stars 13 forks source link

Cannot compile tools.cu #36

Closed perara closed 1 year ago

perara commented 1 year ago

@olegranmo


CompileError: nvcc compilation of /tmp/tmpv8kz891e/kernel.cu failed
[command: nvcc --cubin -arch sm_70 -I/opt/conda/lib/python3.8/site-packages/pycuda/cuda --keep kernel.cu]
[stderr:
kernel.cu(31): error: explicit type is missing ("int" assumed)

kernel.cu(93): error: identifier "compareints" is undefined

2 errors detected in the compilation of "kernel.cu".
]```

The following occurs  when compiling tools.cu.  Any clue on how to fix this?