P4 to Git Change 2044223 by jujiang@JJ-HIP on 2019/12/11 16:16:37
SWDEV-214490 - Update HIP RT for texture3D in HIP/PAL on Windows -Update hipCreateTextureObject http://ocltc.amd.com/reviews/r/18382/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#91 edit ... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#30 edit
This commit is contained in:
@@ -500,13 +500,13 @@ hipError_t hipMalloc3DArray(hipArray_t* array, const struct hipChannelFormatDesc
|
||||
const cl_image_format image_format = { channelOrder, channelType };
|
||||
|
||||
// Dummy flags check
|
||||
switch (flags) {
|
||||
switch (flags) {
|
||||
case hipArrayLayered:
|
||||
case hipArrayCubemap:
|
||||
case hipArraySurfaceLoadStore:
|
||||
case hipArrayTextureGather:
|
||||
assert(0 && "Unspported");
|
||||
break;
|
||||
case hipArrayCubemap:
|
||||
case hipArrayDefault:
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user