SWDEV-229731 - [Lnx][Rocm][Navi]Support images in full Opencl Conformance tests
1. Enable pitch workaround 2. When we use copy image, we don't need to create the custom pitch image 3. wrtBackImageBuffer_ stores device memory object, not amd image object. Tests: conformance kernel read / write test pass with this code change. Change-Id: I7dca3127adde6ac83e78dd270a2256ebed55c60d
This commit is contained in:
@@ -145,8 +145,9 @@ bool Settings::create(bool fullProfile, int gfxipVersion, bool coop_groups) {
|
||||
if (gfxipVersion >= 1000) {
|
||||
enableWave32Mode_ = true;
|
||||
enableWgpMode_ = GPU_ENABLE_WGP_MODE;
|
||||
if (gfxipVersion == 1001) {
|
||||
if (gfxipVersion >= 1010) {
|
||||
// GFX10.1 HW doesn't support custom pitch. Enable double copy workaround
|
||||
// TODO: This should be updated when ROCr support custom pitch
|
||||
imageBufferWar_ = GPU_IMAGE_BUFFER_WAR;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user