Home
last modified time | relevance | path

Searched refs:Batch (Results 1 – 25 of 161) sorted by relevance

1234567

/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_scheduler.h80 class Batch {
82 Batch();
83 explicit Batch(uint64 traceme_context_id);
84 virtual ~Batch(); // Blocks until the batch is closed.
139 TF_DISALLOW_COPY_AND_ASSIGN(Batch);
202 Batch<TaskType>::Batch() : Batch(0) {} in Batch() function
205 Batch<TaskType>::Batch(uint64 traceme_context_id) in Batch() function
209 Batch<TaskType>::~Batch() { in ~Batch()
214 void Batch<TaskType>::AddTask(std::unique_ptr<TaskType> task) { in AddTask()
225 std::unique_ptr<TaskType> Batch<TaskType>::RemoveTask() { in RemoveTask()
[all …]
Dshared_batch_scheduler.h200 std::function<void(std::unique_ptr<Batch<TaskType>>)>
268 std::function<void(std::unique_ptr<Batch<TaskType>>)>;
317 std::unique_ptr<Batch<TaskType>> ScheduleBatch();
320 void ProcessBatch(std::unique_ptr<Batch<TaskType>> batch);
370 std::deque<std::unique_ptr<Batch<TaskType>>> batches_ TF_GUARDED_BY(mu_);
459 std::function<void(std::unique_ptr<Batch<TaskType>>)> in AddQueue()
536 std::unique_ptr<Batch<TaskType>> batch_to_process; in ThreadLogic()
603 batches_.emplace_back(new Batch<TaskType>); in Queue()
787 std::unique_ptr<Batch<TaskType>> Queue<TaskType>::ScheduleBatch() { in ScheduleBatch()
790 std::unique_ptr<Batch<TaskType>> batch_to_schedule; in ScheduleBatch()
[all …]
Dbatch_scheduler_test.cc41 Batch<FakeTask> batch; in TEST()
84 Batch<FakeTask> batch; in TEST()
98 Batch<FakeTask>* batch = new Batch<FakeTask>; in TEST()
Dshared_batch_scheduler_test.cc74 [&queue_0_callback_called](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
84 [&queue_1_callback_called](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
138 &callback_data](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
201 &third_batch_processed](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
260 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
303 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
351 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
363 &queue_1_first_batch_proceed](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
414 &proceed](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
469 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
[all …]
Dbasic_batch_scheduler_benchmark_test.cc126 void ProcessBatch(std::unique_ptr<Batch<BenchmarkBatchTask>> batch);
164 [this](std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ResetState()
172 std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ProcessBatch()
200 void ProcessBatch(std::unique_ptr<Batch<BenchmarkBatchTask>> batch);
293 [this](std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ResetState()
307 std::unique_ptr<Batch<BenchmarkBatchTask>> batch) { in ProcessBatch()
Dadaptive_shared_batch_scheduler_test.cc108 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
150 auto queue_callback = [&env](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
218 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
285 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
322 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
362 auto queue_callback = [](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
378 [&mu, &processed_batches](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
Dserial_device_batch_scheduler_test.cc102 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
151 &scheduler](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
211 [&mu, &processed_batches](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
269 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
320 &finish_processing](std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
357 std::unique_ptr<Batch<FakeTask>> batch) { in TEST()
/external/scudo/standalone/
Dquarantine.h25 void *Batch[MaxCount]; member
29 Batch[0] = Ptr; in init()
38 Batch[Count++] = Ptr; in push_back()
51 Batch[Count + I] = From->Batch[I]; in merge()
59 void shuffle(u32 State) { ::scudo::shuffle(Batch, Count, &State); } in shuffle()
138 for (const QuarantineBatch &Batch : List) { in getStats() local
140 TotalBytes += Batch.Size; in getStats()
141 TotalOverheadBytes += Batch.Size - Batch.getQuarantinedSize(); in getStats()
142 TotalQuarantineChunks += Batch.Count; in getStats()
290 CHECK(NumberOfPrefetch <= ARRAY_SIZE(B->Batch)); in doRecycle()
[all …]
Dlocal_cache.h27 memcpy(Batch, Array, sizeof(Batch[0]) * Count); in setFromArray()
32 Batch[Count++] = P; in add()
35 memcpy(Array, Batch, sizeof(Batch[0]) * Count); in copyToArray()
40 return Batch[I]; in get()
49 CompactPtrT Batch[MaxNumCached]; member
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dquarantine.h25 void *Batch[MaxCount]; member
29 Batch[0] = Ptr; in init()
38 Batch[Count++] = Ptr; in push_back()
51 Batch[Count + I] = From->Batch[I]; in merge()
59 void shuffle(u32 State) { ::scudo::shuffle(Batch, Count, &State); } in shuffle()
138 for (const QuarantineBatch &Batch : List) { in getStats() local
140 TotalBytes += Batch.Size; in getStats()
141 TotalOverheadBytes += Batch.Size - Batch.getQuarantinedSize(); in getStats()
142 TotalQuarantineChunks += Batch.Count; in getStats()
290 CHECK(NumberOfPrefetch <= ARRAY_SIZE(B->Batch)); in doRecycle()
[all …]
Dlocal_cache.h26 memcpy(Batch, Array, sizeof(void *) * Count); in setFromArray()
31 Batch[Count++] = P; in add()
34 memcpy(Array, Batch, sizeof(void *) * Count); in copyToArray()
39 return Batch[I]; in get()
48 void *Batch[MaxNumCached]; member
/external/skqp/src/gpu/ccpr/
DGrCCStroker.h85 struct Batch { struct
86 Batch(GrTAllocator<InstanceTallies>* alloc, const InstanceTallies& startNonScissorIndices, in Batch() function
96 void appendStrokeMeshesToBuffers(int numSegmentsLog2, const Batch&, argument
104 const GrCCCoverageProcessor&, const Batch&,
110 SkSTArray<32, Batch> fBatches;
DGrCCFiller.h85 struct Batch { struct
104 SkSTArray<32, Batch, true> fBatches; argument
/external/rust/crates/grpcio/src/task/
Dpromise.rs22 pub struct Batch { struct
28 impl Batch { implementation
29 pub fn new(ty: BatchType, inner: Arc<Inner<Option<MessageReader>>>) -> Batch { in new() argument
30 Batch { in new()
101 impl Debug for Batch { implementation
Dmod.rs17 use self::promise::{Action as ActionPromise, Batch as BatchPromise};
112 Batch(BatchPromise), enumerator
125 (CqFuture::new(inner), CallTag::Batch(batch)) in batch_pair()
156 CallTag::Batch(ref prom) => Some(prom.context()), in batch_ctx()
175 CallTag::Batch(prom) => prom.resolve(success), in resolve()
188 CallTag::Batch(ref ctx) => write!(f, "CallTag::Batch({:?})", ctx), in fmt()
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Drelease_test.cpp135 Batch[Count++] = P; in add()
140 return Batch[I]; in get()
146 scudo::uptr Batch[MaxCount]; member
150 typedef FreeBatch<SizeClassMap> Batch; in testReleaseFreeMemoryToOS() typedef
178 scudo::SinglyLinkedList<Batch> FreeList; in testReleaseFreeMemoryToOS()
180 Batch *CurrentBatch = nullptr; in testReleaseFreeMemoryToOS()
183 CurrentBatch = new Batch; in testReleaseFreeMemoryToOS()
188 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS()
/external/scudo/standalone/tests/
Drelease_test.cpp137 Batch[Count++] = P; in add()
142 return Batch[I]; in get()
148 scudo::uptr Batch[MaxCount]; member
152 typedef FreeBatch<SizeClassMap> Batch; in testReleaseFreeMemoryToOS() typedef
180 scudo::SinglyLinkedList<Batch> FreeList; in testReleaseFreeMemoryToOS()
182 Batch *CurrentBatch = nullptr; in testReleaseFreeMemoryToOS()
185 CurrentBatch = new Batch; in testReleaseFreeMemoryToOS()
190 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Unbatch.pbtxt3 summary: "Reverses the operation of Batch for a single output Tensor."
11 batched_tensor: The possibly transformed output of Batch. The size of the first
14 batch_index: The matching batch_index obtained from Batch.
15 id: The id scalar emitted by Batch.
Dapi_def_GenerateBoundingBoxProposals.pbtxt74 …`scores`: A 4D tensor of shape [Batch, Height, Width, Num Anchors] containing the scores per ancho…
75 …`bbox_deltas`: is a tensor of shape [Batch, Height, Width, 4 x Num Anchors] boxes encoded to each …
78 …`rois`: output RoIs, a 3D tensor of shape [Batch, post_nms_topn, 4], padded by 0 if less than post…
79 …`roi_probabilities`: probability scores of each roi in 'rois', a 2D tensor of shape [Batch,post_nm…
Dapi_def_UnbatchGrad.pbtxt5 Acts like Batch but using the given batch_index index of batching things as they
13 id: The id scalar emitted by Batch.
Dapi_def_Batch.pbtxt2 graph_op_name: "Batch"
25 max_batch_size: Batch sizes will never be bigger than this.
36 id: always contains a scalar with a unique ID for this invocation of Batch.
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h320 typedef typename SizeClassMap::TransferBatch Batch; typedef
353 NOINLINE Batch* AllocateBatch(AllocatorStats *stat, AllocatorCache *c, in AllocateBatch()
357 Batch *b = region->free_list.Pop(); in AllocateBatch()
364 NOINLINE void DeallocateBatch(AllocatorStats *stat, uptr class_id, Batch *b) { in DeallocateBatch()
513 LFStack<Batch> free_list;
538 NOINLINE Batch* PopulateFreeList(AllocatorStats *stat, AllocatorCache *c, in PopulateFreeList()
541 Batch *b = region->free_list.Pop(); in PopulateFreeList()
581 b = (Batch*)c->Allocate(this, SizeClassMap::ClassID(sizeof(Batch))); in PopulateFreeList()
583 b = (Batch*)(region_beg + beg_idx); in PopulateFreeList()
713 typedef typename SizeClassMap::TransferBatch Batch; typedef
[all …]
/external/autotest/server/site_tests/bluetooth_AdapterLEHealth/
Dcontrol.le_health9 PURPOSE = ('Batch of Bluetooth LE health tests')
18 DOC = """ A Batch of Bluetooth LE health tests. """
/external/llvm-project/clang-tools-extra/clangd/
DSelection.cpp262 auto Batch = ExpandedTokens.take_while([&](const syntax::Token &T) { in test() local
265 assert(!Batch.empty()); in test()
266 ExpandedTokens = ExpandedTokens.drop_front(Batch.size()); in test()
268 update(Result, testChunk(FID, Batch)); in test()
291 testChunk(FileID FID, llvm::ArrayRef<syntax::Token> Batch) const { in testChunk()
292 assert(!Batch.empty()); in testChunk()
293 SourceLocation StartLoc = Batch.front().location(); in testChunk()
303 return testTokenRange(SM.getFileOffset(Batch.front().location()), in testChunk()
304 SM.getFileOffset(Batch.back().location())); in testChunk()
310 for (SourceLocation Loc = Batch.front().location(); Loc.isValid(); in testChunk()
[all …]
/external/mesa3d/src/freedreno/.gitlab-ci/reference/
Dshadow.log17 Batch:
37 Batch:

1234567