P4 to Git Change 1383638 by skeely@skeely_HSA_linux on 2017/03/09 15:39:54

SWDEV-3 - Don't report SVM atomics on Vega.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#43 edit


[ROCm/clr commit: ee02a238bc]
이 커밋은 다음에 포함됨:
foreman가 2017-03-09 16:08:31 -05:00를 커밋했습니다
1 부모 eef3959cd7
커밋 0464eda28a
1 파일이 변경됨
+3 -1
+3 -1
파일 보기
@@ -1152,7 +1152,9 @@ Device::populateOCLDeviceConstants()
}
#if !defined(WITH_LIGHTNING_COMPILER)
// Report atomics capability based on GFX IP, control on Hawaii
if (info_.hostUnifiedMemory_ || deviceInfo_.gfxipVersion_ >= 800) {
// and Vega10.
if (info_.hostUnifiedMemory_ || ((deviceInfo_.gfxipVersion_ >= 800) &&
(deviceInfo_.gfxipVersion_ < 900))) {
info_.svmCapabilities_ |= CL_DEVICE_SVM_ATOMICS;
}
#endif // !defined(WITH_LIGHTNING_COMPILER)