CUFCTL / face-recognition

A GPU-accelerated real-time face recognition system based on classical machine learning algorithms
MIT License
23 stars 11 forks source link

Consider building with both CPU/GPU support #33

Closed bentsherman closed 7 years ago

bentsherman commented 7 years ago

Currently you can build with either CPU or GPU support, and the code is conditionally compiled with either OpenBLAS or MAGMA. However, now that we have a pretty good understanding of how to manage these dependencies, we could just compile both pieces of code, use if/else statements instead of #ifdef macros, and control the platform with a --gpu command-line flag. This setup would make it much easier to run batch experiments, especially performance comparisons.