SWDEV-388256 - Add support of hipExtGetLastError

Change-Id: Ie119d5ea611019996b8a80f7b820ca6a160496a6
This commit is contained in:
Rahul Garg
2023-11-09 04:30:39 +00:00
orang tua d3bfb55d7a
melakukan 92aa9d0fba
4 mengubah file dengan 23 tambahan dan 1 penghapusan
+1
Melihat File
@@ -450,3 +450,4 @@ hipGraphAddMemFreeNode
hipGraphMemFreeNodeGetParams
hipDrvGraphAddMemcpyNode
hipDrvGraphAddMemsetNode
hipExtGetLastError
+7
Melihat File
@@ -23,6 +23,13 @@
#include "hip_internal.hpp"
namespace hip {
hipError_t hipExtGetLastError()
{
HIP_INIT_API(hipExtGetLastError);
hipError_t err = hip::tls.last_error_;
hip::tls.last_error_ = hipSuccess;
return err;
}
hipError_t hipGetLastError()
{
+1
Melihat File
@@ -535,6 +535,7 @@ hip_6.0 {
global:
hipChooseDeviceR0600;
hipGetDevicePropertiesR0600;
hipExtGetLastError;
local:
*;
} hip_5.6;