blt icon indicating copy to clipboard operation
blt copied to clipboard

Support #pragma omp target

Open white238 opened this issue 6 years ago • 1 comments

#pragma omp target tells the compiler where to run sections of openmp code. This is handled by the clang++-gpu wrapper (for one example) by adding the following to the command line:

-fopenmp -fopenmp-targets=nvptx64-nvidia-cuda

Can this be handled neatly by BLT?

white238 avatar Apr 16 '19 20:04 white238

Hope so! I've thought about this before. I think the challenge would be ensuring that we have a robust way of defining valid values for openmp-targets.

davidbeckingsale avatar Apr 16 '19 21:04 davidbeckingsale