P4 to Git Change 2048698 by jujiang@JJ-HIP on 2019/12/19 15:52:21

SWDEV-215536 - [HIP][Windows]Output mismatch with tex2DLayered()

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#31 edit
This commit is contained in:
foreman
2019-12-19 15:57:37 -05:00
parent 3beb70b72a
commit f02b4ffd82
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -581,6 +581,7 @@ hipError_t ihipBindTextureToArrayImpl(TlsData* tls, int dim, enum hipTextureRead
clType = CL_MEM_OBJECT_IMAGE2D;
break;
case 3:
case hipTextureType2DLayered:
clType = CL_MEM_OBJECT_IMAGE3D;
break;
default: