SWDEV-446123 - Revert "Match hipGetLastError behavior with CUDA using env var"

This reverts commit 941cfd5b36.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I11a456655393bcf4b82d749ce7259bc1b78d1424


[ROCm/clr commit: 582dc7dd6d]
This commit is contained in:
Saleel Kudchadker committed 2024-11-08 20:35:13 -05:00
1 parent 941cfd5b36
commit 672e4fa835
5 files changed
+13 -37

No files matched your search

+1 -1
View File
@@ -4621,7 +4621,7 @@ hipError_t hipExternalMemoryGetMappedMipmappedArray(
hip::getNumChannels(mipmapDesc->formatDesc),
mipmapDesc->flags};
if (!hip::CheckArrayFormat(mipmapDesc->formatDesc)) {
HIP_RETURN(hipErrorInvalidValue);
return HIP_RETURN(hipErrorInvalidValue);
}
HIP_RETURN(ihipMipmapArrayCreate(mipmap, &allocateArray, mipmapDesc->numLevels,