Home
last modified time | relevance | path

Searched refs:batch_size (Results 1 – 25 of 27) sorted by relevance

12

/third_party/libdrm/intel/
Dtest_decode.c74 size_t batch_size; in dump_batch() local
76 read_file(batch_filename, &batch_ptr, &batch_size); in dump_batch()
79 batch_size / 4); in dump_batch()
93 size_t ref_size, batch_size; in compare_batch() local
101 read_file(batch_filename, &batch_ptr, &batch_size); in compare_batch()
116 batch_size / 4); in compare_batch()
Dintel_bufmgr.h175 drm_intel_bufmgr *drm_intel_bufmgr_gem_init(int fd, int batch_size);
/third_party/mesa3d/src/intel/common/
Dintel_measure.c85 config.batch_size = DEFAULT_BATCH_SIZE; in intel_measure_init()
180 const int batch_size = atoi(batch_size_s); in intel_measure_init() local
181 if (batch_size < DEFAULT_BATCH_SIZE) { in intel_measure_init()
183 "%d\n", batch_size); in intel_measure_init()
186 if (batch_size > DEFAULT_BATCH_SIZE * 1024) { in intel_measure_init()
188 "%d\n", batch_size); in intel_measure_init()
192 config.batch_size = batch_size; in intel_measure_init()
Dintel_batch_decoder_stub.c51 const uint32_t *batch, uint32_t batch_size, in intel_print_batch() argument
Dintel_measure.h88 unsigned batch_size; member
Dintel_decoder.h275 const uint32_t *batch, uint32_t batch_size,
Dintel_batch_decoder.c1398 const uint32_t *batch, uint32_t batch_size, in intel_print_batch() argument
1401 const uint32_t *p, *end = batch + batch_size / sizeof(uint32_t); in intel_print_batch()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dbtree_benchmark.cc75 const int batch_size = (kBenchmarkValues + 9) / 10; in BM_InsertImpl() local
76 while (state.KeepRunningBatch(batch_size)) { in BM_InsertImpl()
80 for (int j = i; j < i + batch_size; j++) { in BM_InsertImpl()
87 for (int j = i; j < i + batch_size; j++) { in BM_InsertImpl()
165 const int batch_size = (kBenchmarkValues + 9) / 10; in BM_Delete() local
166 while (state.KeepRunningBatch(batch_size)) { in BM_Delete()
169 for (int j = i; j < i + batch_size; j++) { in BM_Delete()
175 for (int j = i; j < i + batch_size; j++) { in BM_Delete()
192 const int batch_size = (kBenchmarkValues + 9) / 10; in BM_DeleteRange() local
193 while (state.KeepRunningBatch(batch_size)) { in BM_DeleteRange()
[all …]
/third_party/benchmark/test/
Dbasic_test.cc114 const benchmark::IterationCount batch_size = 1009; in BM_KeepRunningBatch() local
118 while (state.KeepRunningBatch(batch_size)) { in BM_KeepRunningBatch()
119 iter_count += batch_size; in BM_KeepRunningBatch()
125 assert(iter_count == batch_size // max_iterations == 1 in BM_KeepRunningBatch()
/third_party/skia/tools/run-wasm-gm-tests/
Drun-wasm-gm-tests.js98 if (!options.batch_size) {
99 options.batch_size = 50;
275 let batch = options.batch_size;
277 console.log(`Waiting ${options.timeout}s for ${options.batch_size} tests to complete`);
299 batch = progress.count + options.batch_size;
/third_party/icu/tools/commit-checker/
Dcheck.py138 batch_size = 50
140 issues = jira.search_issues(jira_query, startAt=start, maxResults=batch_size)
144 if len(issues) < batch_size:
146 start += batch_size
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_openvino.c40 int batch_size; member
89 …{ "batch_size", "batch size per request", OFFSET(options.batch_size), AV_OPT_TYPE_INT, { .i64…
274 if (ctx->options.batch_size <= 0) { in init_model_ov()
275 ctx->options.batch_size = 1; in init_model_ov()
278 if (ctx->options.batch_size > 1) { in init_model_ov()
284 input_shapes.shapes[i].shape.dims[0] = ctx->options.batch_size; in init_model_ov()
368 item->tasks = av_malloc_array(ctx->options.batch_size, sizeof(*item->tasks)); in init_model_ov()
395 if (request->task_count < ctx->options.batch_size) { in execute_model_ov()
635 if (ctx->options.batch_size > 1) { in ff_dnn_execute_model_ov()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_measure.c114 config->batch_size * sizeof(struct intel_measure_snapshot); in iris_init_batch_measure()
121 config->batch_size * sizeof(uint64_t), 8, in iris_init_batch_measure()
160 if (measure_batch->index == config->batch_size) { in measure_start_snapshot()
170 config->batch_size); in measure_start_snapshot()
177 assert(index < config->batch_size); in measure_start_snapshot()
Diris_batch.c637 unsigned batch_size = iris_batch_bytes_used(batch); in record_batch_sizes() local
639 VG(VALGRIND_CHECK_MEM_IS_DEFINED(batch->map, batch_size)); in record_batch_sizes()
642 batch->primary_batch_size = batch_size; in record_batch_sizes()
644 batch->total_chained_batch_size += batch_size; in record_batch_sizes()
/third_party/mesa3d/src/intel/vulkan/
Danv_measure.c109 config->batch_size * sizeof(struct intel_measure_snapshot); in anv_measure_init()
118 config->batch_size * sizeof(uint64_t), in anv_measure_init()
275 if (measure->base.index == config->batch_size) { in _anv_measure_snapshot()
285 config->batch_size); in _anv_measure_snapshot()
Danv_batch_chain.c2430 uint32_t batch_size = align_u32(batch->next - batch->start, 8); in anv_queue_submit_simple_batch() local
2433 result = anv_bo_pool_alloc(&device->batch_bo_pool, batch_size, &batch_bo); in anv_queue_submit_simple_batch()
2437 memcpy(batch_bo->map, batch->start, batch_size); in anv_queue_submit_simple_batch()
2439 intel_flush_range(batch_bo->map, batch_size); in anv_queue_submit_simple_batch()
2461 .batch_len = batch_size, in anv_queue_submit_simple_batch()
/third_party/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c251 long batch_size = MAX(ncpus * 2, in calculate_total_batch_size() local
262 total_batch_size = (batch_size * ncpus * pagesize) / KB; in calculate_total_batch_size()
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/
Drestricted_trace_gold_tests.py324 def _get_batches(traces, batch_size): argument
325 for i in range(0, len(traces), batch_size):
326 yield traces[i:i + batch_size]
358 batches = _get_batches(traces, args.batch_size)
/third_party/libbpf/src/
Dbpf.h450 __u32 batch_size; member
452 #define bpf_test_run_opts__last_field batch_size
Dbpf.c878 attr.test.batch_size = OPTS_GET(opts, batch_size, 0); in bpf_prog_test_run_opts()
/third_party/mesa3d/src/intel/tools/
Daubinator_viewer.h99 const void *batch, uint32_t batch_size,
Daubinator_viewer_decoder.cpp898 const void *_batch, uint32_t batch_size, in aub_viewer_render_batch() argument
902 …const uint32_t *p, *batch = (const uint32_t *) _batch, *end = batch + batch_size / sizeof(uint32_t… in aub_viewer_render_batch()
/third_party/mindspore/patches/
D0015-train-0003.patch253 + int batch_size;
290 + int batch_size = gru_param->batch_size;
293 + int output_size = batch_size * hidden_size;
301 + if (batch_size != 1) {
302 + RowMajor2ColNMajorFp16(input + i * batch_size * input_size, buffer[0], batch_size, input_siz…
305 + bias_input + j * col_align, ActType_No, input_size, batch_size, hidden_…
308 + RowMajor2ColNMajorFp16(init_h, buffer[C2NUM], batch_size, hidden_size);
311 + bias_hidden + j * col_align, ActType_No, hidden_size, batch_size, hidde…
405 + int batch_size = gru_param->batch_size;
408 + int output_size = batch_size * hidden_size;
[all …]
/third_party/rust/crates/nix/test/sys/
Dtest_socket.rs520 let batch_size = 15; in udp_sendmmsg() localVariable
521 let mut iovs = Vec::with_capacity(1 + batch_size); in udp_sendmmsg()
522 let mut addrs = Vec::with_capacity(1 + batch_size); in udp_sendmmsg()
523 let mut data = MultiHeaders::preallocate(1 + batch_size, None); in udp_sendmmsg()
529 for _ in 0..batch_size { in udp_sendmmsg()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c2735 uint32_t batch_size = 1; in v3dv_CmdCopyBufferToImage2KHR() local
2763 batch_size++; in v3dv_CmdCopyBufferToImage2KHR()
2767 batch_size, &info->pRegions[r], true)) { in v3dv_CmdCopyBufferToImage2KHR()
2779 batch_size = 1; in v3dv_CmdCopyBufferToImage2KHR()
2784 batch_size, &info->pRegions[r], false)) { in v3dv_CmdCopyBufferToImage2KHR()
2791 r += batch_size; in v3dv_CmdCopyBufferToImage2KHR()

12