- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DeviceThread (0.24 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
// // DeviceThread itself is thread-safe, in that StartExecute will block if there // is a pending execution. Since StartExecute is equivalent to grabbing a lock, // multiple DeviceThreads should always be accessed in the same order to avoid // deadlocks. class DeviceThread { public: // Starts a background thread waiting for `StartExecute`. explicit DeviceThread(const std::string& device, const bool is_async,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
#include "tensorflow/core/framework/types.h" namespace tensorflow { namespace parallel_device { using TensorHandlePtr = tensorflow::Safe_TFE_TensorHandlePtr; class ParallelTensor; class DeviceThread; // Forwards operations to `devices`, maintaining ParallelTensor with components // placed on each underlying device. class ParallelDevice { public:
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0)