Home
last modified time | relevance | path

Searched refs:num_engines (Results 1 – 14 of 14) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_sync.c86 int num_engines = 0; in sync_ring() local
90 names[num_engines] = e__->name; in sync_ring()
91 engines[num_engines++] = ring; in sync_ring()
92 if (num_engines == ARRAY_SIZE(engines)) in sync_ring()
96 num_children *= num_engines; in sync_ring()
99 names[num_engines] = NULL; in sync_ring()
100 engines[num_engines++] = ring; in sync_ring()
118 execbuf.flags = engines[child % num_engines]; in sync_ring()
131 names[child % num_engines] ?: "", in sync_ring()
132 names[child % num_engines] ? " c" : "C", in sync_ring()
[all …]
Dgem_ctx_thrash.c64 static unsigned get_num_contexts(int fd, int num_engines) in get_num_contexts() argument
76 if (num_engines) /* one per engine with execlists */ in get_num_contexts()
77 size *= num_engines; in get_num_contexts()
93 unsigned int engines[16], num_engines, num_ctx; in single() local
104 num_engines = 0; in single()
112 engines[num_engines++] = engine; in single()
113 if (num_engines == ARRAY_SIZE(engines)) in single()
118 engines[num_engines++] = 0; in single()
120 igt_require(num_engines); in single()
122 num_ctx = get_num_contexts(fd, num_engines); in single()
[all …]
Dgem_ctx_create.c384 static void check_single_timeline(int i915, uint32_t ctx, int num_engines) in check_single_timeline() argument
405 for (int i = 0; i < num_engines; i++) { in check_single_timeline()
414 .rsvd2 = sw_sync_timeline_create_fence(timeline, num_engines - i), in check_single_timeline()
447 for (int i = 1; i < num_engines; i++) { in check_single_timeline()
Di915_query.c535 engines->num_engines = 1; in engines_invalid()
607 for (i = 0; i < engines->num_engines; i++) { in has_engine()
657 igt_assert(engines->num_engines > 0); in engines()
665 for (i = 0; i < engines->num_engines; i++) { in engines()
/external/igt-gpu-tools/tests/
Dperf_pmu.c415 static void log_busy(unsigned int num_engines, uint64_t *val) in log_busy() argument
422 for (i = 0; i < num_engines; i++) { in log_busy()
436 const unsigned int num_engines, unsigned int flags) in busy_check_all() argument
439 uint64_t tval[2][num_engines]; in busy_check_all()
441 uint64_t val[num_engines]; in busy_check_all()
442 int fd[num_engines]; in busy_check_all()
457 igt_assert_eq(i, num_engines); in busy_check_all()
460 pmu_read_multi(fd[0], num_engines, tval[0]); in busy_check_all()
464 pmu_read_multi(fd[0], num_engines, tval[1]); in busy_check_all()
470 for (i = 0; i < num_engines; i++) in busy_check_all()
[all …]
/external/igt-gpu-tools/tools/
Dintel_gpu_top.c73 unsigned int num_engines; member
185 engines->num_engines = 0; in discover_engines()
195 engine_ptr(engines, engines->num_engines); in discover_engines()
254 engines->num_engines++; in discover_engines()
256 engines->num_engines * sizeof(struct engine)); in discover_engines()
272 qsort(engine_ptr(engines, 0), engines->num_engines, in discover_engines()
474 for (i = 0; i < engines->num_engines; i++) { in pmu_init()
653 for (i = 0; i < engines->num_engines; i++) { in pmu_sample()
1154 i < engines->num_engines && lines < con_h; in print_engines_header()
1372 i < engines->num_engines && lines < con_h; in main()
/external/igt-gpu-tools/lib/i915/
Dgem_engine_topology.c144 for (i = 0; i < query_engine->num_engines; i++) in query_engine_list()
149 ed->nengines = query_engine->num_engines; in query_engine_list()
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dquantization_mnist_test.py160 num_engines = len(
162 self.assertEqual(1, num_engines)
Dtf_trt_integration_test_base.py819 num_engines = 0
824 num_engines += 1
850 self.assertEqual(0, num_engines)
852 self.assertEqual(num_engines, len(expected_engines))
/external/igt-gpu-tools/benchmarks/
Dgem_wsim.c233 unsigned int num_engines; member
483 num = engine_info->num_engines; in query_engines()
2210 (2 + bb->num_engines) * sizeof(uint64_t)); in get_pmu_stats()
2213 for (i = 0; i < bb->num_engines; i++) { in get_pmu_stats()
2222 for (i = 0; i < bb->num_engines; i++) in get_pmu_stats()
2263 bb->num_engines = 0; in busy_init()
2275 return -(10 + bb->num_engines); in busy_init()
2280 if (bb->num_engines == 0) in busy_init()
2283 bb->engine_map[d->id] = bb->num_engines++; in busy_init()
2286 if (bb->num_engines < 5 && !(wrk->flags & VCS2REMAP)) in busy_init()
/external/igt-gpu-tools/include/drm-uapi/
Di915_drm.h2116 __u32 num_engines; member
/external/mesa3d/include/drm-uapi/
Di915_drm.h2319 __u32 num_engines; member
/external/kernel-headers/original/uapi/drm/
Di915_drm.h2320 __u32 num_engines; member
/external/minigbm/external/
Di915_drm.h2359 __u32 num_engines; member