Skip to content

OpenMP mapping routine extensions #17

Open
@jdenny-ornl

Description

@jdenny-ornl

Clacc prototypes the following routines as OpenMP extensions to support OpenACC's data-clause-like data-management routines, such as acc_copyin:

void *omp_target_map_to(void *ptr, size_t size, int device_num);
void *omp_target_map_alloc(void *ptr, size_t size, int device_num);
void omp_target_map_from(void *ptr, size_t size, int device_num);
void omp_target_map_from_delete(void *ptr, size_t size, int device_num);
void omp_target_map_release(void *ptr, size_t size, int device_num);
void omp_target_map_delete(void *ptr, size_t size, int device_num);

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

Metadata

Metadata

Assignees

Labels

claccRelated to the Clacc project (OpenACC support for C/C++)runtimeRelated to a runtime (e.g., LLVM's openmp subproject)upstreamableIdentifies work that is ready to be considered for LLVM upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions