blt
blt copied to clipboard
Support #pragma omp target
#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?
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.