SWDEV-327945 - hipGraphInstantiateWithFlags accept 0,1 as valid flag values

Change-Id: I3100a3464d1a47fca5f9da80f42e7dd2035865ad


[ROCm/clr commit: aacfc3ed7d]
This commit is contained in:
Ajay
2022-03-18 22:09:34 +00:00
zatwierdzone przez Ajay GunaShekar
rodzic 389d81161b
commit 38a0792ebe
+1 -1
Wyświetl plik
@@ -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);
}