2
0

SWDEV-363850 - fix a bug in mutual exclusive flags

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: If7687b5bf7ec7ff1978991cbf7dafa0612912274
Este cometimento está contido em:
sdashmiz
2022-10-24 16:00:07 -04:00
cometido por Shadi Dashmiz
ascendente dcb5d29f1e
cometimento 84fa61a39b
+1 -1
Ver ficheiro
@@ -576,7 +576,7 @@ hipError_t hipSetDeviceFlags ( unsigned int flags ) {
if (((scheduleFlag & mutualExclusiveFlags) != hipDeviceScheduleSpin) && ((scheduleFlag & mutualExclusiveFlags) != hipDeviceScheduleYield)
&& ((scheduleFlag & mutualExclusiveFlags) != hipDeviceScheduleBlockingSync)
&& ((scheduleFlag & hipDeviceScheduleAuto) != hipDeviceScheduleAuto)) {
&& ((scheduleFlag & mutualExclusiveFlags) != hipDeviceScheduleAuto)) {
HIP_RETURN(hipErrorInvalidValue);
}