Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

macros for compiler identification #435

Closed fnrizzi closed 6 months ago

fnrizzi commented 2 years ago

it is about time to setup macros for compiler identification so that we can distinguish between gnu, clang, intel, etc. I think we should look at what kokkos does, see here for this and get some inspiration. We already have something defined in: pressio_cmake_config.h.in but this is currently not used anywhere so we need to fix this anyway.

so @mzuzek can you please look at how kokkos does things and then propose something here? We don't not need something as detailed as kokkos has, but we have to start somewhere.