Early implementations of IBM's internal declare target implementation would call __tgt_target with device IDs -2 and -3 to denote constructors and destructors, respectively. The upcoming declare target patch for clang uses dedicated bits (__tgt_offload_entry::flags) to denote ctors/dtors, so the code handling calls to __tgt_target with devices IDs -2 and -3 is obsolete.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM