We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468e935 commit 12dae84Copy full SHA for 12dae84
offload/DeviceRTL/src/Kernel.cpp
@@ -82,7 +82,7 @@ extern "C" {
82
int32_t __kmpc_target_init(KernelEnvironmentTy &KernelEnvironment,
83
KernelLaunchEnvironmentTy &KernelLaunchEnvironment) {
84
ConfigurationEnvironmentTy &Configuration = KernelEnvironment.Configuration;
85
- bool IsSPMD = Configuration.ExecMode & OMP_TGT_EXEC_MODE_SPMD;
+ bool IsSPMD = Configuration.ExecMode == OMP_TGT_EXEC_MODE_SPMD;
86
bool UseGenericStateMachine = Configuration.UseGenericStateMachine;
87
if (IsSPMD) {
88
inititializeRuntime(/*IsSPMD=*/true, KernelEnvironment,
0 commit comments