[all-commits] [llvm/llvm-project] fca49f: [clang-offload-wrapper] Lower priority of __tgt_re...
George Rokos via All-commits
all-commits at lists.llvm.org
Tue Mar 3 12:32:00 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fca49fe8e34f13632c42e68aad4b14e3e00bdcc8
https://github.com/llvm/llvm-project/commit/fca49fe8e34f13632c42e68aad4b14e3e00bdcc8
Author: George Rokos <georgios.rokos at intel.com>
Date: 2020-03-03 (Tue, 03 Mar 2020)
Changed paths:
M clang/test/Driver/clang-offload-wrapper.c
M clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
Log Message:
-----------
[clang-offload-wrapper] Lower priority of __tgt_register_lib in favor of __tgt_register_requires
Lower priority of __tgt_register_lib in order to make sure that __tgt_register_requires is called before loading a libomptarget plugin.
We want to know beforehand which requirements the user has asked for so that upon loading the plugin libomptarget can report how many devices there are that can satisfy these requirements.
Differential Revision: https://reviews.llvm.org/D75223
More information about the All-commits
mailing list