- Added omp_target_is_accessible to the header files
 - Added missing const qualifier to device memory routines
 
Details
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D100420  
[OpenMP] Add omp_target_is_accessible() to header files ClosedPublic Authored by hbae on Apr 13 2021, 4:09 PM. 
Details Summary 
 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Apr 15 2021, 9:18 PM This revision was landed with ongoing or failed builds.Apr 16 2021, 5:54 AM Closed by commit rG9b98497b4458: [OpenMP] Add omp_target_is_accessible() to header files (authored by hbae).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 337279 openmp/libomptarget/include/omptarget.h
 openmp/libomptarget/src/api.cpp
 openmp/runtime/src/include/omp.h.var
 openmp/runtime/src/include/omp_lib.h.var
 openmp/runtime/src/include/omp_lib.f90.var
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clang-tidy: warning: invalid case style for function 'omp_target_is_present' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'ptr' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'device_num' [readability-identifier-naming]
not useful