EXSWHTEC-318 - Implement tests for 2D texture device functions #367
Change-Id: I5404eae219d23dc058aa6ef150a0764b06ab6de1
Tento commit je obsažen v:
@@ -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;
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele