SWDEV-319818 - Release restriction on hipResourceViewDesc
Let more types support hipResourceViewDesc. Add missing symbols to fix cuda build failing. Change-Id: Ife694cc6491427093863252e257e820b0bb4fa0f
このコミットが含まれているのは:
1 親
d04938a6ad
コミット
a19b767e8a
2ファイル変更
+38
-3
検索条件に一致するファイルはありません
@@ -88,9 +88,7 @@ hipError_t ihipCreateTextureObject(hipTextureObject_t* pTexObject,
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
|
||||
// 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))) {
|
||||
if (pResViewDesc != nullptr && pResDesc->resType == hipResourceTypeLinear) {
|
||||
return hipErrorInvalidValue;
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする