SWDEV-369961 - Add flags for hipGraphInstantiateWithFlags and since internals doesn't not support them yet, Update doc. (#3138)

Change-Id: I0e8309c783cf1a71ca7ee059e319d9246c2a7b96
Cette révision appartient à :
ROCm CI Service Account
2023-03-01 20:45:06 +05:30
révisé par GitHub
Parent 76efd52f1e
révision 369afc8bae
+8 -2
Voir le fichier
@@ -1257,6 +1257,12 @@ typedef enum hipUserObjectRetainFlags {
typedef enum hipGraphInstantiateFlags {
hipGraphInstantiateFlagAutoFreeOnLaunch =
1, ///< Automatically free memory allocated in a graph before relaunching.
hipGraphInstantiateFlagUpload =
2, ///< Automatically upload the graph after instantiaton.
hipGraphInstantiateFlagDeviceLaunch =
4, ///< Instantiate the graph to be launchable from the device.
hipGraphInstantiateFlagUseNodePriority =
8, ///< Run the graph using the per-node priority attributes rather than the priority of the stream it is launched into.
} hipGraphInstantiateFlags;
enum hipGraphDebugDotFlags {
@@ -5987,8 +5993,8 @@ hipError_t hipGraphInstantiate(hipGraphExec_t* pGraphExec, hipGraph_t graph,
* @returns #hipSuccess, #hipErrorInvalidValue
*
* @warning : This API is marked as beta, meaning, while this is feature complete,
* it is still open to changes and may have outstanding issues.
*
* it is still open to changes and may have outstanding issues.It does not support
* any of flag and is behaving as hipGraphInstantiate.
*/
hipError_t hipGraphInstantiateWithFlags(hipGraphExec_t* pGraphExec, hipGraph_t graph,
unsigned long long flags);