llvm-doe-org / llvm-project

The LLVM DOE Fork is a fork of upstream LLVM (https://github.com/llvm/llvm-project/) that hosts multiple DOE-funded projects. Contact information and other details for each project are described in the wiki.
https://github.com/llvm-doe-org/llvm-project/wiki/
Other
22 stars 13 forks source link

OpenMP update routine extensions #18

Open jdenny-ornl opened 3 years ago

jdenny-ornl commented 3 years ago

Clacc prototypes the following routines as OpenMP extensions to support OpenACC's acc_update_device and acc_update_self:

void omp_target_update_to(void *ptr, size_t size, int device_num);
void omp_target_update_from(void *ptr, size_t size, int device_num);

The initial commit is c9236faa4234. This feature should be considered for upstreaming to LLVM as described in #10.