Home
last modified time | relevance | path

Searched refs:TransTable (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/openmp/libomptarget/src/
Drtl.cpp302 TranslationTable &TransTable = in RegisterLib() local
304 TransTable.HostTable.EntriesBegin = desc->HostEntriesBegin; in RegisterLib()
305 TransTable.HostTable.EntriesEnd = desc->HostEntriesEnd; in RegisterLib()
309 TranslationTable &TransTable = in RegisterLib() local
314 RegisterImageIntoTranslationTable(TransTable, R, img); in RegisterLib()
404 auto TransTable = PM->HostEntriesBeginToTransTable.find(desc->HostEntriesBegin); in UnregisterLib() local
405 if (TransTable != PM->HostEntriesBeginToTransTable.end()) { in UnregisterLib()
408 PM->HostEntriesBeginToTransTable.erase(TransTable); in UnregisterLib()
Domptarget.cpp66 TranslationTable *TransTable = &entry_it->second; in InitLibrary() local
67 if (TransTable->HostTable.EntriesBegin == in InitLibrary()
68 TransTable->HostTable.EntriesEnd) { in InitLibrary()
72 if (TransTable->TargetsTable[device_id] != 0) { in InitLibrary()
78 assert(TransTable->TargetsImages.size() > (size_t)device_id && in InitLibrary()
80 __tgt_device_image *img = TransTable->TargetsImages[device_id]; in InitLibrary()
88 TransTable->TargetsTable[device_id] = Device.load_binary(img); in InitLibrary()
92 TransTable->TargetsImages[device_id] = 0; in InitLibrary()
99 TransTable->HostTable.EntriesEnd - TransTable->HostTable.EntriesBegin; in InitLibrary()
106 TransTable->TargetsImages[device_id] = 0; in InitLibrary()
[all …]