[Openmp-commits] [PATCH] D44577: Read OMP_TARGET_OFFLOAD and provide API to access ICV

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 16 12:49:40 PDT 2018


tlwilmar created this revision.
tlwilmar added reviewers: grokos, AndreyChurbanov, jlpeyton, hbae.
Herald added a subscriber: llvm-commits.

Added settings code to read OMP_TARGET_OFFLOAD environment variable. Added target-offload-var ICV as __kmp_target_offload, set via OMP_TARGET_OFFLOAD, if available, otherwise defaulting to DEFAULT. Valid values for the ICV are specified as enum values {0,1,2} for disabled, default, and mandatory. An internal API access function __kmpc_get_target_offload is provided.


Repository:
  rL LLVM

https://reviews.llvm.org/D44577

Files:
  runtime/src/dllexports
  runtime/src/kmp.h
  runtime/src/kmp_csupport.cpp
  runtime/src/kmp_global.cpp
  runtime/src/kmp_settings.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44577.138747.patch
Type: text/x-patch
Size: 3923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180316/7ce8623b/attachment.bin>


More information about the Openmp-commits mailing list