SWDEV-327945 - hipGraphInstantiateWithFlags accept 0,1 as valid flag values
Change-Id: I3100a3464d1a47fca5f9da80f42e7dd2035865ad
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user