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:
cometido por
Shadi Dashmiz
ascendente
dcb5d29f1e
cometimento
84fa61a39b
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador