From 3c5035b3cdb73533c276e2bc6e1a96eec10c4121 Mon Sep 17 00:00:00 2001 From: agunashe <86270081+agunashe@users.noreply.github.com> Date: Fri, 25 Feb 2022 00:35:37 -0800 Subject: [PATCH] SWDEV-314665 - hipGraphInstantiateFlags enum (#2481) Change-Id: If07e415ee18f08bad85ae5e491e01f97b16a6b99 [ROCm/hip commit: adaa9ba27e6094447cdda26e7488520df59927db] --- projects/hip/include/hip/hip_runtime_api.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index b8b511d816..f2a24e6dbe 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -4304,6 +4304,11 @@ typedef enum hipStreamUpdateCaptureDependenciesFlags { hipStreamSetCaptureDependencies, ///< Replace the dependency set with the new nodes } hipStreamUpdateCaptureDependenciesFlags; +typedef enum hipGraphInstantiateFlags { + hipGraphInstantiateFlagAutoFreeOnLaunch = + 1, ///< Automatically free memory allocated in a graph before relaunching. +} hipGraphInstantiateFlags; + /** * @brief Begins graph capture on a stream. *