EXSWHTEC-318 - Implement tests for 2D texture device functions #367

Change-Id: I5404eae219d23dc058aa6ef150a0764b06ab6de1
Tento commit je obsažen v:
Mirza Halilčević
2023-12-28 14:22:01 +01:00
odevzdal Rakesh Roy
rodič da67d77a0c
revize 37d8529a9b
5 změnil soubory, kde provedl 363 přidání a 10 odebrání
+2 -1
Zobrazit soubor
@@ -126,7 +126,8 @@ template <typename TestType, bool normalized_read = false> struct TextureTestFix
SetVec4<TestType>(host_alloc.ptr()[i], i + test_value_offset);
}
hipMemcpy3DParms memcpy_params = {};
hipMemcpy3DParms memcpy_params;
memset(&memcpy_params, 0 sizeof(hipMemcpy3DParms));
memcpy_params.dstArray = tex_alloc_d.ptr();
memcpy_params.extent = params.LayeredExtent();
memcpy_params.extent.height = memcpy_params.extent.height ?: 1;