andersbll / cudarray

CUDA-based NumPy
MIT License
233 stars 61 forks source link

function "lrnorm_bc01" missing in cuda-version installation #27

Open donglaiw opened 8 years ago

donglaiw commented 8 years ago

Hi @andersbll

Really nice package.

After "make && make install", I did "python setup.py install". But function "lrnorm_bc01" is missing in this "cuda-end" version installation. Did I miss anything during the installation?

My current fix is that: I searched the repo and only found "lrnorm_bc01.pyx" under "numpy_backend/". I had to manually change the "setup.py" to compile it, import it in the file "cudarray/init.py" and "python setup.py install".

Thanks

andersbll commented 8 years ago

Duly noted! LRN is not in the CUDA backend yet. However, LRN has been added to cuDNN v3 so this should be fairly straightforward to support. I have no intentions og implementing it myself. :)