diff options
| author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-09-02 20:54:58 +0000 |
|---|---|---|
| committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2016-09-02 20:54:58 +0000 |
| commit | e6abe52905ee652c8d165a84e11b982457c5c51a (patch) | |
| tree | c8c9313674bd373ace367f215e8aa4e3dcfa545b /openmp/runtime/src/kmp_ftn_stdcall.c | |
| parent | ffdc16051f013e4e43f77c3616148e4a36ba73a0 (diff) | |
| download | bcm5719-llvm-e6abe52905ee652c8d165a84e11b982457c5c51a.tar.gz bcm5719-llvm-e6abe52905ee652c8d165a84e11b982457c5c51a.zip | |
Move function into cpp file under KMP_AFFINITY_SUPPORTED guard.
When affinity isn't supported, __kmp_affinity_compact doesn't exist. The
problem is that in kmp_affinity.h there is a function which uses it without the
proper KMP_AFFINITY_SUPPORTED guard around it. The compiler was smart enough to
ignore it and the function __kmp_affinity_cmp_Address_child_num which relies on
it, but I think it is cleaner to have it under the proper guard. Since the
function is only used in the kmp_affinity.cpp file and there aren't any plans to
have it elsewhere. I have moved it there.
llvm-svn: 280542
Diffstat (limited to 'openmp/runtime/src/kmp_ftn_stdcall.c')
0 files changed, 0 insertions, 0 deletions

