Lines Matching defs:Rc
167 int Rc = OFFLOAD_SUCCESS;
168 Rc = TargetDataFunction(Loc, *DeviceOrErr, ArgNum, ArgsBase, Args, ArgSizes,
172 if (Rc == OFFLOAD_SUCCESS)
173 Rc = AsyncInfo.synchronize();
175 handleTargetOutcome(Rc == OFFLOAD_SUCCESS, Loc);
367 int Rc = OFFLOAD_SUCCESS;
368 Rc = target(Loc, *DeviceOrErr, HostPtr, *KernelArgs, AsyncInfo);
371 if (Rc == OFFLOAD_SUCCESS)
372 Rc = AsyncInfo.synchronize();
374 handleTargetOutcome(Rc == OFFLOAD_SUCCESS, Loc);
375 assert(Rc == OFFLOAD_SUCCESS && "__tgt_target_kernel unexpected failure!");
420 [[maybe_unused]] int Rc = target_activate_rr(
422 assert(Rc == OFFLOAD_SUCCESS &&
466 int Rc = target_replay(Loc, *DeviceOrErr, HostPtr, DeviceMemory,
469 if (Rc == OFFLOAD_SUCCESS)
470 Rc = AsyncInfo.synchronize();
471 handleTargetOutcome(Rc == OFFLOAD_SUCCESS, Loc);
472 assert(Rc == OFFLOAD_SUCCESS &&