Home
last modified time | relevance | path

Searched refs:StreamPool (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dstream_pool_test.cc36 TEST_F(StreamPoolTest, EmptyPool) { StreamPool pool; } in TEST_F()
40 StreamPool pool; in TEST_F()
43 StreamPool::Ptr stream1 = pool.BorrowStream(executor.get()); in TEST_F()
49 StreamPool::Ptr stream2 = pool.BorrowStream(executor.get()); in TEST_F()
61 StreamPool pool; in TEST_F()
64 StreamPool::Ptr stream1 = pool.BorrowStream(executor.get()); in TEST_F()
67 StreamPool::Ptr stream2 = pool.BorrowStream(executor.get()); in TEST_F()
77 StreamPool::Ptr stream3 = pool.BorrowStream(executor.get()); in TEST_F()
87 StreamPool::Ptr stream4 = pool.BorrowStream(executor.get()); in TEST_F()
98 StreamPool pool; in TEST_F()
[all …]
Dstream_pool.h30 class StreamPool {
34 StreamPool* pool;
41 StreamPool() {} in StreamPool() function
Dstream_pool.cc23 StreamPool::Ptr StreamPool::BorrowStream(se::StreamExecutor* executor) { in BorrowStream()
55 void StreamPool::ReturnStream(se::Stream* stream) { in ReturnStream()
Dbackend.h124 StatusOr<StreamPool::Ptr> BorrowStream(int device_ordinal);
125 StatusOr<StreamPool::Ptr> BorrowStream(se::StreamExecutor* executor);
130 std::function<StatusOr<StreamPool::Ptr>(int)> StreamBorrower() { in StreamBorrower()
178 absl::flat_hash_map<se::StreamExecutor*, std::unique_ptr<StreamPool>>
Dexecution_tracker.h43 AsyncExecution(Backend* backend, std::vector<StreamPool::Ptr> streams,
57 std::vector<StreamPool::Ptr> streams_;
75 std::vector<StreamPool::Ptr> stream,
Dservice_executable_run_options.h30 using StreamBorrower = std::function<StatusOr<StreamPool::Ptr>(int)>;
51 StatusOr<StreamPool::Ptr> BorrowStream(int device_ordinal) const { in BorrowStream()
Dbackend.cc130 StatusOr<StreamPool::Ptr> Backend::BorrowStream(int device_ordinal) { in BorrowStream()
135 StatusOr<StreamPool::Ptr> Backend::BorrowStream(se::StreamExecutor* executor) { in BorrowStream()
138 stream_pools_.emplace(executor, absl::make_unique<StreamPool>()); in BorrowStream()
Dexecution_tracker.cc28 std::vector<StreamPool::Ptr> streams, in AsyncExecution()
50 std::vector<StreamPool::Ptr> streams, in Register()
Dservice.cc401 std::vector<StreamPool::Ptr> streams; in ExecuteParallelAndRegisterResult()
428 TF_ASSIGN_OR_RETURN(StreamPool::Ptr stream, in ExecuteParallelAndRegisterResult()
523 std::vector<StreamPool::Ptr> streams; in ExecuteAndRegisterResult()
528 TF_ASSIGN_OR_RETURN(StreamPool::Ptr stream, in ExecuteAndRegisterResult()
541 for (const StreamPool::Ptr& stream : streams) { in ExecuteAndRegisterResult()
/external/webrtc/webrtc/base/
Dsocketpool.h32 class StreamPool {
34 virtual ~StreamPool() { } in ~StreamPool()
46 class StreamCache : public StreamPool, public sigslot::has_slots<> {
48 StreamCache(StreamPool* pool);
63 StreamPool* pool_;
75 class NewSocketPool : public StreamPool {
95 class ReuseSocketPool : public StreamPool, public sigslot::has_slots<> {
119 class LoggingPoolAdapter : public StreamPool {
121 LoggingPoolAdapter(StreamPool* pool, LoggingSeverity level,
131 StreamPool* pool_;
Dhttpclient.h63 HttpClient(const std::string& agent, StreamPool* pool,
67 void set_pool(StreamPool* pool) { pool_ = pool; } in set_pool()
166 StreamPool* pool_;
Dsocketpool.cc27 StreamCache::StreamCache(StreamPool* pool) : pool_(pool) { in StreamCache()
237 StreamPool* pool, LoggingSeverity level, const std::string& label, in LoggingPoolAdapter()
Dhttpclient.cc267 HttpClient::HttpClient(const std::string& agent, StreamPool* pool, in HttpClient()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_execution_profiler.h43 const std::vector<StreamPool::Ptr>& sub_streams,
75 const std::vector<StreamPool::Ptr>& sub_streams_;
Dhlo_execution_profiler.cc42 const std::vector<StreamPool::Ptr>& sub_streams, in GetCyclesTaken()
56 const std::vector<StreamPool::Ptr>& sub_streams, in HloExecutionProfiler()
Dgpu_executable.cc89 std::vector<StreamPool::Ptr> sub_streams; in ExecuteThunks()
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc35 StatusOr<StreamPool::Ptr> BorrowStreamForDevice(int device_ordinal, in BorrowStreamForDevice()
149 StreamPool::Ptr stream; in Run()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc220 stream_executor::port::StatusOr<xla::StreamPool::Ptr> ptr_or_status = in CopyDeviceTensorToCPU()
Dxla_device.cc268 xla::StreamPool::Ptr ptr; in EnsureStreamOkLocked()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtransfer_manager_test.cc64 StreamPool::Ptr stream_ptr_;
Dxla_hlo_profile_test.cc141 StreamPool::Ptr stream_ptr, in ExecuteAndFetchProfile()