SWDEV-352290 - remove the static list for user obj

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I8d7542ad5aacdda4e817c6aaed78c9cac4562efd
This commit is contained in:
sdashmiz
2022-08-18 17:35:58 -04:00
کامیت شده توسط Christophe Paquot
والد 97741fe5d4
کامیت ce5103ac97
3فایلهای تغییر یافته به همراه3 افزوده شده و 7 حذف شده
+1 -1
مشاهده پرونده
@@ -2075,7 +2075,7 @@ hipError_t hipGraphRetainUserObject(hipGraph_t graph, hipUserObject_t object, un
hipError_t hipGraphReleaseUserObject(hipGraph_t graph, hipUserObject_t object, unsigned int count) {
HIP_INIT_API(hipGraphReleaseUserObject, graph, object, count);
if (graph == nullptr || object == nullptr || !ihipGraph::isUserObjGraphValid(object)) {
if (graph == nullptr || object == nullptr || !graph->isUserObjGraphValid(object)) {
HIP_RETURN(hipErrorInvalidValue);
}
//! Obj is being destroyed