[Openmp-commits] [PATCH] D40340: Warning is emitted when tiles are requested but cannot be used

İsmail Dönmez via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 30 02:50:28 PST 2017


ismail added a comment.

Hi, this fails to build (Linux x86-64):

  ../projects/openmp/runtime/src/kmp_affinity.cpp:3852:30: error: use of undeclared identifier 'affinity_gran_tile'; did you mean 'affinity_gran_fine'?                                         
    if (__kmp_affinity_gran == affinity_gran_tile &&
                               ^~~~~~~~~~~~~~~~~~
                               affinity_gran_fine
  ../projects/openmp/runtime/src/kmp.h:702:3: note: 'affinity_gran_fine' declared here
    affinity_gran_fine = 0,
    ^
  ../projects/openmp/runtime/src/kmp_affinity.cpp:4125:30: error: use of undeclared identifier 'affinity_gran_tile'; did you mean 'affinity_gran_fine'?                                         
    if (__kmp_affinity_gran == affinity_gran_tile && __kmp_tile_depth == 0) {
                               ^~~~~~~~~~~~~~~~~~
                               affinity_gran_fine
  ../projects/openmp/runtime/src/kmp.h:702:3: note: 'affinity_gran_fine' declared here
    affinity_gran_fine = 0,
    ^
  ../projects/openmp/runtime/src/kmp_affinity.cpp:4125:52: error: use of undeclared identifier '__kmp_tile_depth'; did you mean '__kmp_aff_depth'?                                              
    if (__kmp_affinity_gran == affinity_gran_tile && __kmp_tile_depth == 0) {
                                                     ^~~~~~~~~~~~~~~~
                                                     __kmp_aff_depth
  ../projects/openmp/runtime/src/kmp_affinity.cpp:3777:12: note: '__kmp_aff_depth' declared here
  static int __kmp_aff_depth = 0;
             ^
  3 errors generated.




Repository:
  rL LLVM

https://reviews.llvm.org/D40340





More information about the Openmp-commits mailing list