Build on Apple Silicon + Homebrew #18
Replies: 3 comments
-
@sigmafelix Interesting, and you think this would open it up to GPU support? I thought there would need to be more edits in the source code (C++ and/or R) to do that. |
Beta Was this translation helpful? Give feedback.
-
@Spatiotemporal-Exposures-and-Toxicology GPU support is a different avenue, I guess. As far as I understood, the entire C++ codebase needs to be converted to use CUDA API or we can develop a separate CUDA version alongside with the present C++ codebase to allow user flexibility (e.g., R package GWModel). |
Beta Was this translation helpful? Give feedback.
-
It seems like PrestoGP uses RcppArmadillo, not OpenMP. Thus, the OpenMP part I mentioned above may be irrelevant. |
Beta Was this translation helpful? Give feedback.
-
Although this is not recommended by the developer, we need to modify
./src/Makevars
to buildPrestoGP
on Apple Silicon with Homebrew. The settings below enables us to bind OpenMP and library paths that were set by Homebrew../src/Makevars
:${HOME}/.R/Makevars
./src/Makevars
.Reference
Beta Was this translation helpful? Give feedback.
All reactions