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

Change-Id: I3100a3464d1a47fca5f9da80f42e7dd2035865ad


[ROCm/clr commit: aacfc3ed7d]
このコミットが含まれているのは:
Ajay authored and Ajay GunaShekar committed 2022-03-21 16:42:21 -04:00
1 親 389d81161b
コミット 38a0792ebe
1ファイル変更
+1 -1
+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);
}