Is there some defined macro from compiler when I compile with OMP offload support? Like “_CUDA”. I would to do a check like:
ifdef OMP_OFFLOAD_ENABLED ... #else ... #endif
At the moment, when compiling with OMP offload, _CUDA is enabled , but I don’t see the analogue of OMP offload, if exist. Thanks.