SWDEV-388256 - Add support of hipExtGetLastError
Change-Id: Ie119d5ea611019996b8a80f7b820ca6a160496a6
[ROCm/clr commit: 92aa9d0fba]
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user