SWDEV-319818 - Revert change on hipResourceViewDesc
Revert part of
http://gerrit-git.amd.com/c/compute/ec/hipamd/+/675588
Change-Id: Iee9dac9f8c50aa9b6a12ca9d8fd792a51973b8cd
[ROCm/clr commit: 4561a207dd]
Este cometimento está contido em:
1 ascendente
a206abcaa1
cometimento
79d6018cd7
1 ficheiro modificado
+3
-1
@@ -88,7 +88,9 @@ hipError_t ihipCreateTextureObject(hipTextureObject_t* pTexObject,
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
|
||||
if (pResViewDesc != nullptr && pResDesc->resType == hipResourceTypeLinear) {
|
||||
// pResViewDesc can only be specified if the type of resource is a HIP array or a HIP mipmapped array.
|
||||
if ((pResViewDesc != nullptr) &&
|
||||
((pResDesc->resType != hipResourceTypeArray) && (pResDesc->resType != hipResourceTypeMipmappedArray))) {
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador