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.
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.