- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for iowait (0.18 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> await_status( TF_NewStatus(), TF_DeleteStatus); // Wait until all pending nodes have completed since they may have a // reference to default_cancellation_manager_. We ignore the status return // since we already have a bad status to propagate. TFE_ContextAsyncWait(context, await_status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
EXPECT_EQ(cache.CacheSize(), 8); TF_EXPECT_OK(ReadCache(&cache, "b", 0, 1, &out)); EXPECT_EQ(calls, 3); // Advance the fake time to `now` + 3, at which point "b" becomes stale. env->SetNowSeconds(now + 3); // Wait for the pruner to remove "b". start = Env::Default()->NowSeconds(); do { Env::Default()->SleepForMicroseconds(100000); } while (cache.CacheSize() == 8 && Env::Default()->NowSeconds() - start < 3);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
// // 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var"); // 2. Wait for `var` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/eager/c_api_test.cc
// 1. Create a variable on `remote_device`, using `ctx_0`. TFE_TensorHandle* handle_0 = CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2"); // 2. Wait for `var2` to be created and initialized on the worker. TF_Status* status = TF_NewStatus(); TFE_ContextAsyncWait(ctx_0, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)