Add HSA signal global tracking logic.

Implement the global class for signals tracking per device queue.
Switch to the new tracking mechanism.

Change-Id: I3c4dda04b34e6d18d6a95510d84102909633b415
Bu işleme şunda yer alıyor:
German Andryeyev
2021-01-07 16:41:30 -05:00
ebeveyn a148a71075
işleme 8698aeef0d
6 değiştirilmiş dosya ile 284 ekleme ve 289 silme
+5
Dosyayı Görüntüle
@@ -260,7 +260,12 @@ Device::~Device() {
context().svmFree(coopHostcallBuffer_);
coopHostcallBuffer_ = nullptr;
}
if (0 != prefetch_signal_.handle) {
hsa_signal_destroy(prefetch_signal_);
}
}
bool NullDevice::initCompiler(bool isOffline) {
#if defined(WITH_COMPILER_LIB)
// Initialize the compiler handle if has already not been initialized