Replacing deprecated HSA API calls with newer ones

Change-Id: Iebe2c00e717ab0e47c61611752b717966c719994
This commit is contained in:
Jatin Chaudhary
2020-06-24 03:24:27 -04:00
committed by Jatin Chaudhary
parent 4a901f3dd3
commit cd1e364911
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -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;