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]
This commit is contained in:
@@ -68,6 +68,8 @@ Settings::Settings() {
|
|||||||
numWaitEvents_ = 8;
|
numWaitEvents_ = 8;
|
||||||
|
|
||||||
useLightning_ = GPU_ENABLE_LC;
|
useLightning_ = GPU_ENABLE_LC;
|
||||||
|
|
||||||
|
lcWavefrontSize64_ = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Settings::create(bool fullProfile, int gfxipVersion) {
|
bool Settings::create(bool fullProfile, int gfxipVersion) {
|
||||||
@@ -121,6 +123,10 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
|
|||||||
enableExtension(ClAmdFp64);
|
enableExtension(ClAmdFp64);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (gfxipVersion >= 1000) {
|
||||||
|
lcWavefrontSize64_ = false;
|
||||||
|
}
|
||||||
|
|
||||||
// Override current device settings
|
// Override current device settings
|
||||||
override();
|
override();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user