Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for destroyFn (0.12 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

        parent()->DeallocateStream(this);
        Destroy();
      }
    
      absl::Status Create() {
        tensorflow::TF_StatusPtr c_status(TF_NewStatus());
        stream_executor_->create_stream(device_, &stream_handle_, c_status.get());
        absl::Status s = tensorflow::StatusFromTF_Status(c_status.get());
        return s;
      }
    
      void Destroy() {
        if (stream_handle_ != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

      bool is_module_updated = !mlir::OperationEquivalence::isEquivalentTo(
          module_ref_clone, *module_ref,
          mlir::OperationEquivalence::Flags::IgnoreLocations);
      // Destroy this cloned op to avoid memory leaks.
      module_ref_clone->destroy();
    
      if (!pass_status.ok()) {
        if (pass_state == MlirOptimizationPassState::Enabled) return pass_status;
    
        if (pass_state == MlirOptimizationPassState::FallbackEnabled) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    			if functionName == "Destroy" {
    				destroyCount = destroyCount + 1
    			}
    		}
    		return destroyCount >= 1, nil
    	})
    
    	assert.NoError(t, err, "wait should not return error")
    	// housekeeping can get called multiple times. The cgroup Destroy() is
    	// done within a goroutine and can get called multiple times, so the
    	// Destroy() count in not deterministic on the actual number.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor.cc

                                               &HostCallbackTrampoline, ctx);
      }
      void DeallocateStream(Stream* stream) override {
        static_cast<CStream*>(stream)->Destroy();
      }
      absl::Status BlockHostForEvent(Stream* stream, Event* event) {
        OwnedTFStatus c_status(TF_NewStatus());
        SP_Event event_handle = static_cast<CEvent*>(event)->Handle();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    	return nil
    }
    
    func (ms *mockStore) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) {
    	return nil, nil
    }
    
    func (ms *mockStore) Destroy() {
    }
    
    func unhealthyPolicyPtr(unhealthyPodEvictionPolicy policyv1.UnhealthyPodEvictionPolicyType) *policyv1.UnhealthyPodEvictionPolicyType {
    	return &unhealthyPodEvictionPolicy
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_pods.go

    		}
    		klog.V(3).InfoS("Orphaned pod found, removing pod cgroups", "podUID", uid)
    		// Destroy all cgroups of pod that should not be running,
    		// by first killing all the attached processes to these cgroups.
    		// We ignore errors thrown by the method, as the housekeeping loop would
    		// again try to delete these unwanted pod cgroups
    		go pcm.Destroy(val)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    	// remove any cgroups in the hierarchy for pods that are no longer running.
    	if kl.cgroupsPerQOS {
    		pcm := kl.containerManager.NewPodContainerManager()
    		name, _ := pcm.GetPodContainerName(pod)
    		if err := pcm.Destroy(name); err != nil {
    			return err
    		}
    		klog.V(4).InfoS("Pod termination removed cgroups", "pod", klog.KObj(pod), "podUID", pod.UID)
    	}
    
    	kl.usernsManager.Release(pod.UID)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top