Enable prefetch async functionality

Fix a typo with the name define, when compilation wasn't enabled.
Force CPU prefetch if system was forced in runtime

Change-Id: Id4b578f9fa44a45426fdb5d8ecb1da803aa42313


[ROCm/clr commit: 6e69258b69]
Tá an tiomantas seo le fáil i:
German Andryeyev údaraithe agus Aditya Lad tiomanta 2020-08-13 11:09:10 -04:00
1 tuismitheoir 3315ef8a45
tiomantas a5ca15a599
3 comhad athraithe
+14 -11

Níor tháinig aon chomhaid le do chuardach

+1 -2
Féach ar an gComhad
@@ -87,8 +87,7 @@ Settings::Settings() {
lcWavefrontSize64_ = true;
imageBufferWar_ = false;
hmmFlags_ = (!flagIsDefault(ROC_HMM_FLAGS)) ? ROC_HMM_FLAGS :
Hmm::EnableSystemMemory | Hmm::EnableMallocPrefetch;
hmmFlags_ = (!flagIsDefault(ROC_HMM_FLAGS)) ? ROC_HMM_FLAGS : Hmm::EnableSystemMemory;
rocr_backend_ = true;
}