Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for IgnoreError (0.12 sec)

  1. tensorflow/compiler/jit/xla_tensor.cc

                    stream) != streams_defined_on_.end()) {
        // stream is in streams_defined_on_; it doesn't need to be waited on.
        return;
      }
    
      stream->WaitFor(definition_event_.get()).IgnoreError();
      streams_defined_on_.push_back(stream);
    }
    
    void XlaTensor::ResetDefinitionEvent(std::shared_ptr<se::Event> event,
                                         se::Stream* stream) {
      mutex_lock lock(mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/function.cc

      }
      // TODO(srbs): Update RegisterFunction to accept AbstractFunctionPtr.
      TF_RETURN_IF_ERROR(ctx->RegisterFunction(trace.get()));
      auto cleanup = absl::MakeCleanup(
          [fname, ctx]() { ctx->RemoveFunction(fname).IgnoreError(); });
      auto call_op = AbstractOperationPtr(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(
          call_op->Reset(fname.c_str(), /*raw_device_name=*/nullptr));
      for (auto t : inputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc

        bridge_subcomponent = "TFXLA_PHASE_ONE_MLIR_CPU/GPU_BRIDGE";
      }
    
      tsl::error_logging::Log(mlir::TF::kBridgeComponent, bridge_subcomponent,
                              status.ToString())
          .IgnoreError();
    
      return status;
    }
    
    void CreateReplicatedClusteringPipeline(OpPassManager &pm,
                                            llvm::StringRef module_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

          : StreamCommon(executor),
            device_(device),
            stream_executor_(stream_executor),
            stream_handle_(nullptr) {}
      ~CStream() override {
        parent()->BlockHostUntilDone(this).IgnoreError();
        parent()->DeallocateStream(this);
        Destroy();
      }
    
      absl::Status Create() {
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/cc/training/coordinator_test.cc

        while (!coord_->ShouldStop() && counter->load() < until) {
          (*counter)++;
          Env::Default()->SleepForMicroseconds(10 * 1000);
        }
        coord_->RequestStop().IgnoreError();
      }
      void SetStatusThread(const Status& status, BlockingCounter* counter,
                           Notification* start) {
        start->WaitForNotification();
        SetStatus(status);
        counter->DecrementCount();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 23 09:10:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

          /*result=*/"failure");
      tsl::error_logging::Log(mlir::TF::kBridgeComponent,
                              "TFXLA_PHASE_ONE_MLIR_TPU_V1_COMPAT_BRIDGE",
                              status.ToString())
          .IgnoreError();
    
      return status;
    }
    
    // V1 Compat Bridge takes a TF Executor dialect and extracts the TF2 portion
    // and inserts it into a submodule. We just want to run the clustering
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

        bridge_subcomponent = "TFXLA_PHASE_ONE_MLIR_CPU/GPU_BRIDGE";
      }
    
      tsl::error_logging::Log(mlir::TF::kBridgeComponent, bridge_subcomponent,
                              status.ToString())
          .IgnoreError();
    
      return status;
    }
    
    absl::Status RunLowerClusterToRuntimeOpsPassPipeline(
        mlir::ModuleOp module, tsl::DeviceType xla_device_type,
        llvm::StringRef module_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/compilability_check_util.cc

            "operation with numerical accuracy issues";
        BroadcastOptimizationRemark(XlaOptimizationRemark::INACCURATE_OPERATION,
                                    node.DebugString())
            .IgnoreError();
        MaybeMarkUncompilableNode(uncompilable_reason, *stack_trace,
                                  encapsulating_function, uncompilable_nodes);
        LogNotCompilable(node, uncompilable_reason);
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_device_context.cc

                  stream_->parent()->device_ordinal());
              if (status_or_new_stream.ok()) {
                status_or_new_stream.value()
                    ->DoHostCallback([device_to_host_stream] {})
                    .IgnoreError();
              }
            }
          });
    }
    
    se::Stream* XlaDeviceContext::GetDeviceToDeviceStream() {
      DCHECK_GT(device_to_device_streams_.size(), 0);
      absl::MutexLock lock(&mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      // far enough to need valid metadata.
      tensorflow::tf2xla::internal::ConfigureMetadata(mlir_module_str, arg_shapes,
                                                      metadata_proto)
          .IgnoreError();
      bool use_tuple_args = true;
      std::vector<ShardingAndIndex> arg_core_mapping;
      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
      std::vector<std::unique_ptr<mlir::Pass>> custom_legalization_passes;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top