nagadomi / animeface-2009

Face and Landmark Detector for Anime/Manga. This is 2009s version of Imager::AnimeFace, but it works on recent system.
MIT License
312 stars 39 forks source link

LAPACK has a C interface now. #5

Open Skylion007 opened 7 years ago

Skylion007 commented 7 years ago

There have been numerous improvements to LAPACK since 2009 including a C interface. Having the library link against the newer, optimized versions of LAPACK would not only speed up the code, but make it easier to contribute to.

nagadomi commented 7 years ago

I agree with that. It would be better to be able to change BLAS / LAPACK to OpenBLAS or something. But I don't have the motivation to improve this codebase :sob: (nvxs is a very old fork of https://github.com/nagadomi/nv and currently I don't use that library ) As far as I can remember, ./nvxs/CLAPACK is Fortran interface version, changing integer type (long?) to work on Windows.

Skylion007 commented 7 years ago

So I was digging through the code and to my great surprise their appears to be code for GPU support as well? Does it actually work? If so, would you consider modifying the build.sh to include an easy flag for it?

nagadomi commented 7 years ago

I used this code with CUDA, but in 2008 I did not release that code because GPGPU was not popular. I put that code in appendix/cuda. However, I have not confirmed that the code still works.