- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for record_event (0.21 sec)
-
tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc
se->get_stream_status = GetStreamStatus; se->create_event = CreateEvent; se->destroy_event = DestroyEvent; se->get_event_status = GetEventStatus; se->record_event = RecordEvent; se->wait_for_event = WaitForEvent; se->create_timer = CreateTimer; se->destroy_timer = DestroyTimer; se->start_timer = StartTimer; se->stop_timer = StopTimer; se->memcpy_dtoh = MemcpyDToH;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 21 20:09:00 UTC 2023 - 8.7K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_internal.h
return tensorflow::StatusFromTF_Status(c_status.get()); } absl::Status Record(SP_Stream stream_handle) { tensorflow::TF_StatusPtr c_status(TF_NewStatus()); stream_executor_->record_event(device_, stream_handle, event_handle_, c_status.get()); return tensorflow::StatusFromTF_Status(c_status.get()); } void Destroy() { if (event_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) -
tensorflow/c/experimental/stream_executor/stream_executor.cc
TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, destroy_event); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, get_event_status); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, record_event); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, wait_for_event); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, memcpy_dtoh); TF_VALIDATE_NOT_NULL(SP_StreamExecutor, se, memcpy_htod);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor_test.cc
*event = new SP_Event_st(2); }; se_.destroy_event = [](const SP_Device* const device, SP_Event event) -> void { delete event; }; se_.record_event = [](const SP_Device* const device, SP_Stream stream, SP_Event event, TF_Status* const status) { EXPECT_EQ(stream->stream_id, 1); EXPECT_EQ(event->event_id, 2);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 19:54:04 UTC 2024 - 26.5K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.h
SE_EventStatus (*get_event_status)(const SP_Device* device, SP_Event event); // Inserts the specified event at the end of the specified stream. void (*record_event)(const SP_Device* device, SP_Stream stream, SP_Event event, TF_Status* status); // Wait for the specified event at the end of the specified stream.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 24 08:40:35 UTC 2022 - 21.6K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/multilock.go
if err != nil && kerrors.IsNotFound(err) { return ml.Secondary.Create(ctx, ler) } return ml.Secondary.Update(ctx, ler) } // RecordEvent in leader election while adding meta-data func (ml *MultiLock) RecordEvent(s string) { ml.Primary.RecordEvent(s) ml.Secondary.RecordEvent(s) } // Describe is used to convert details on current resource lock // into a string func (ml *MultiLock) Describe() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.9K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/endpointslock.go
e, err := el.Client.Endpoints(el.EndpointsMeta.Namespace).Update(ctx, el.e, metav1.UpdateOptions{}) if err != nil { return err } el.e = e return nil } // RecordEvent in leader election while adding meta-data func (el *EndpointsLock) RecordEvent(s string) { if el.LockConfig.EventRecorder == nil { return } events := fmt.Sprintf("%v %v", el.LockConfig.Identity, s)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 11 16:58:48 UTC 2021 - 3.7K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/leaselock.go
if err != nil { return err } ll.lease = lease return nil } // RecordEvent in leader election while adding meta-data func (ll *LeaseLock) RecordEvent(s string) { if ll.LockConfig.EventRecorder == nil { return } events := fmt.Sprintf("%v %v", ll.LockConfig.Identity, s)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jun 04 16:02:26 UTC 2022 - 4.3K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go
} // Update is a dummy to allow us to have a fakeLock for testing. func (fl *fakeLock) Update(ctx context.Context, ler rl.LeaderElectionRecord) error { return nil } // RecordEvent is a dummy to allow us to have a fakeLock for testing. func (fl *fakeLock) RecordEvent(string) {} // Identity is a dummy to allow us to have a fakeLock for testing. func (fl *fakeLock) Identity() string { return fl.identity }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 12 18:41:53 UTC 2022 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_host_send_device_context.cc
auto status = stream_->Memcpy(device_memory_base_, cpu_tensor->data(), device_memory_base_->size()); if (!status.ok()) { done(status); return; } status = stream_->RecordEvent(done_event_.get().get()); if (!status.ok()) { done(status); return; } if (auto st = stream_->BlockHostUntilDone(); !st.ok()) { done_event_.SetError(absl::InternalError(absl::StrFormat(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 1.6K bytes - Viewed (0)