[Openmp-commits] [openmp] r340656 - [OpenMP] Remove deprecated/obsolete MIC attributes from headers

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 24 14:34:10 PDT 2018


Author: jlpeyton
Date: Fri Aug 24 14:34:10 2018
New Revision: 340656

URL: http://llvm.org/viewvc/llvm-project?rev=340656&view=rev
Log:
[OpenMP] Remove deprecated/obsolete MIC attributes from headers

Modified:
    openmp/trunk/runtime/src/include/50/omp_lib.h.var

Modified: openmp/trunk/runtime/src/include/50/omp_lib.h.var
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/include/50/omp_lib.h.var?rev=340656&r1=340655&r2=340656&view=diff
==============================================================================
--- openmp/trunk/runtime/src/include/50/omp_lib.h.var (original)
+++ openmp/trunk/runtime/src/include/50/omp_lib.h.var Fri Aug 24 14:34:10 2018
@@ -517,6 +517,8 @@
       end interface
 
 !DIR$ IF DEFINED (__INTEL_OFFLOAD)
+
+!DIR$ IF(__INTEL_COMPILER.LT.1900)
 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_num_threads
 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_dynamic
 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_nested
@@ -587,6 +589,7 @@
 !DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_warnings_off
 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_init_lock_with_hint
 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_init_nest_lock_with_hint
+!DIR$ ENDIF
 
 !DIR$ IF(__INTEL_COMPILER.GE.1400)
 !$omp declare target(omp_set_num_threads )
@@ -661,4 +664,3 @@
 !$omp declare target(omp_init_nest_lock_with_hint )
 !DIR$ ENDIF
 !DIR$ ENDIF
-




More information about the Openmp-commits mailing list