SWDEV-327945 - hipGraphInstantiateWithFlags accept 0,1 as valid flag values
Change-Id: I3100a3464d1a47fca5f9da80f42e7dd2035865ad
[ROCm/clr commit: aacfc3ed7d]
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
389d81161b
υποβολή
38a0792ebe
1 file changed
+1
-1
@@ -985,7 +985,7 @@ hipError_t hipGraphInstantiateWithFlags(hipGraphExec_t* pGraphExec, hipGraph_t g
|
||||
}
|
||||
|
||||
//invalid flag check
|
||||
if (flags != hipGraphInstantiateFlagAutoFreeOnLaunch){
|
||||
if (flags != 0 && flags != hipGraphInstantiateFlagAutoFreeOnLaunch) {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user