Replacing deprecated HSA API calls with newer ones
Change-Id: Iebe2c00e717ab0e47c61611752b717966c719994
[ROCm/clr commit: cd1e364911]
Tá an tiomantas seo le fáil i:
tiomanta ag
Jatin Chaudhary
tuismitheoir
8d083a3c61
tiomantas
260a83c546
@@ -2157,7 +2157,7 @@ bool Device::SvmAllocInit(void* memory, size_t size) const {
|
||||
}
|
||||
|
||||
// Wait for the prefetch
|
||||
if (hsa_signal_wait_acquire(prefetch_signal_, HSA_SIGNAL_CONDITION_EQ, 0, uint64_t(-1),
|
||||
if (hsa_signal_wait_scacquire(prefetch_signal_, HSA_SIGNAL_CONDITION_EQ, 0, uint64_t(-1),
|
||||
HSA_WAIT_STATE_BLOCKED) != 0) {
|
||||
LogError("Barrier packet submission failed");
|
||||
return false;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir