Skip to content
Snippets Groups Projects
Commit 07136b8b authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Add compilation options to use OMP and offload

parent 391d0a75
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,18 @@
#include "../include/tra_subs.h"
#endif
#ifdef USE_NVTX
#include <nvtx3/nvToolsExt.h>
#endif
#ifdef _OPENMP
#include <omp.h>
#endif
#ifdef USE_TARGET_OFFLOAD
#pragma omp requires unified_shared_memory
#endif
void camp(dcomplex *ac, dcomplex **am0m, dcomplex *ws, CIL *cil) {
for (int j = 0; j < cil->nlemt; j++) {
for (int i = 0; i < cil->nlemt; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment