Skip to content

OpenMP omp_get_accessible_buffer extension #16

Open
@jdenny-ornl

Description

@jdenny-ornl

Clacc prototypes the following routine as an OpenMP extension that provides a means for OpenACC data and memory management routines to check whether data is present in shared memory or fully or partially present in device memory:

size_t omp_get_accessible_buffer(const void *ptr, size_t size, int device_num, void **buffer_host, void **buffer_device);

The initial commit is 5f3ac7d. This feature might be considered for upstreaming to LLVM as described in #10. However, upstreaming should probably wait until the OpenACC specification for these routines' handling of special cases involving shared memory, etc. is further clarified. It may turn out that we need something different here or no extension at all.

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