forked from llvm/llvm-project
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 11
 
Open
Labels
claccRelated to the Clacc project (OpenACC support for C/C++)Related to the Clacc project (OpenACC support for C/C++)runtimeRelated to a runtime (e.g., LLVM's openmp subproject)Related to a runtime (e.g., LLVM's openmp subproject)upstreamableIdentifies work that is ready to be considered for LLVM upstreamIdentifies work that is ready to be considered for LLVM upstream
Description
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++)Related to the Clacc project (OpenACC support for C/C++)runtimeRelated to a runtime (e.g., LLVM's openmp subproject)Related to a runtime (e.g., LLVM's openmp subproject)upstreamableIdentifies work that is ready to be considered for LLVM upstreamIdentifies work that is ready to be considered for LLVM upstream