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
committed by Christophe Paquot
parent 97741fe5d4
commit ce5103ac97
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -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