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


[ROCm/clr commit: 43b9863e17]
This commit is contained in:
Alex Xie
2020-04-01 18:20:21 -04:00
کامیت شده توسط AlexBin Xie
والد cd4472490d
کامیت 8d5b686e8b
3فایلهای تغییر یافته به همراه18 افزوده شده و 13 حذف شده
@@ -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;
}
}