Skip to content

Commit

Permalink
OpenMP - add base compiler flag for OpenMP on PPC with GCC (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt authored Aug 17, 2020
1 parent 4292cfc commit 56eb9ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modes/openmp/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace occa {

std::string baseCompilerFlag(const int vendor_) {
if (vendor_ & (sys::vendor::GNU |
sys::vendor::PPC |
sys::vendor::LLVM)) {
return "-fopenmp";
} else if (vendor_ & sys::vendor::Intel) {
Expand Down

0 comments on commit 56eb9ea

Please sign in to comment.