Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 505964e

Browse files
committed
SWDEV-253063 - Code changes to make Image Buffer Workaround only for targets gfx 10.1
Change-Id: I17044a1c0775f427b9ba712eb3fd5ab21ed88b0e
1 parent 220ab6d commit 505964e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

device/rocm/rocsettings.cpp

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ bool Settings::create(bool fullProfile, int gfxipMajor, int gfxipMinor, bool coo
148148
if (gfxipMajor >= 10) {
149149
enableWave32Mode_ = true;
150150
enableWgpMode_ = GPU_ENABLE_WGP_MODE;
151-
if (gfxipMinor >= 1) {
151+
if (gfxipMinor == 1) {
152152
// GFX10.1 HW doesn't support custom pitch. Enable double copy workaround
153153
// TODO: This should be updated when ROCr support custom pitch
154154
imageBufferWar_ = GPU_IMAGE_BUFFER_WAR;

0 commit comments

Comments
 (0)