P4 to Git Change 1765529 by asalmanp@asalmanp-ocl-stg on 2019/04/03 15:40:06

SWDEV-132899 - [OCL] set lcWavefrontSize64_ on ROCm for all ASICs except gfx10+ so that we Link wavefrontsize64 correctly

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17081/

Affected files ...

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


[ROCm/clr commit: dc0fc2d882]
Этот коммит содержится в:
foreman
2019-04-03 16:05:38 -04:00
родитель f6228adc9b
Коммит 4e568feac9
+6
Просмотреть файл
@@ -68,6 +68,8 @@ Settings::Settings() {
numWaitEvents_ = 8;
useLightning_ = GPU_ENABLE_LC;
lcWavefrontSize64_ = true;
}
bool Settings::create(bool fullProfile, int gfxipVersion) {
@@ -121,6 +123,10 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
enableExtension(ClAmdFp64);
}
if (gfxipVersion >= 1000) {
lcWavefrontSize64_ = false;
}
// Override current device settings
override();