SWDEV-369961 - Add flags for hipGraphInstantiateWithFlags and since internals doesn't not support them yet, Update doc. (#3138)
Change-Id: I0e8309c783cf1a71ca7ee059e319d9246c2a7b96
This commit is contained in:
committato da
GitHub
parent
76efd52f1e
commit
369afc8bae
@@ -1257,6 +1257,12 @@ typedef enum hipUserObjectRetainFlags {
|
|||||||
typedef enum hipGraphInstantiateFlags {
|
typedef enum hipGraphInstantiateFlags {
|
||||||
hipGraphInstantiateFlagAutoFreeOnLaunch =
|
hipGraphInstantiateFlagAutoFreeOnLaunch =
|
||||||
1, ///< Automatically free memory allocated in a graph before relaunching.
|
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;
|
} hipGraphInstantiateFlags;
|
||||||
|
|
||||||
enum hipGraphDebugDotFlags {
|
enum hipGraphDebugDotFlags {
|
||||||
@@ -5987,8 +5993,8 @@ hipError_t hipGraphInstantiate(hipGraphExec_t* pGraphExec, hipGraph_t graph,
|
|||||||
* @returns #hipSuccess, #hipErrorInvalidValue
|
* @returns #hipSuccess, #hipErrorInvalidValue
|
||||||
*
|
*
|
||||||
* @warning : This API is marked as beta, meaning, while this is feature complete,
|
* @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,
|
hipError_t hipGraphInstantiateWithFlags(hipGraphExec_t* pGraphExec, hipGraph_t graph,
|
||||||
unsigned long long flags);
|
unsigned long long flags);
|
||||||
|
|||||||
Fai riferimento in un nuovo problema
Block a user