Home
last modified time | relevance | path

Searched refs:job (Results 1 – 25 of 4160) sorted by relevance

12345678910>>...167

/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_job.c48 vc5_job_free(struct vc5_context *vc5, struct vc5_job *job) in vc5_job_free() argument
52 set_foreach(job->bos, entry) { in vc5_job_free()
57 remove_from_ht(vc5->jobs, &job->key); in vc5_job_free()
59 if (job->write_prscs) { in vc5_job_free()
62 set_foreach(job->write_prscs, entry) { in vc5_job_free()
70 if (job->cbufs[i]) { in vc5_job_free()
71 remove_from_ht(vc5->write_jobs, job->cbufs[i]->texture); in vc5_job_free()
72 pipe_surface_reference(&job->cbufs[i], NULL); in vc5_job_free()
75 if (job->zsbuf) { in vc5_job_free()
76 remove_from_ht(vc5->write_jobs, job->zsbuf->texture); in vc5_job_free()
[all …]
Dvc5_rcl.c90 store_general(struct vc5_job *job, in store_general() argument
116 ((job->cleared & pipe_bit) && in store_general()
152 (job->cleared & pipe_bit))); in store_general()
154 !(job->cleared & PIPE_CLEAR_DEPTH); in store_general()
156 !(job->cleared & PIPE_CLEAR_STENCIL); in store_general()
197 vc5_rcl_emit_loads(struct vc5_job *job, struct vc5_cl *cl) in vc5_rcl_emit_loads() argument
199 uint32_t read_but_not_cleared = job->resolve & ~job->cleared; in vc5_rcl_emit_loads()
206 struct pipe_surface *psurf = job->cbufs[i]; in vc5_rcl_emit_loads()
221 (job->zsbuf && job->zsbuf->texture->nr_samples > 1))) { in vc5_rcl_emit_loads()
222 load_general(cl, job->zsbuf, in vc5_rcl_emit_loads()
[all …]
Dvc5_draw.c45 struct vc5_job *job = vc5->job; in vc5_start_draw() local
47 if (job->needs_flush) in vc5_start_draw()
53 vc5_cl_ensure_space_with_branch(&job->bcl, 256 /* XXX */); in vc5_start_draw()
55 job->submit.bcl_start = job->bcl.bo->offset; in vc5_start_draw()
56 vc5_job_add_bo(job, job->bcl.bo); in vc5_start_draw()
58 job->tile_alloc = vc5_bo_alloc(vc5->screen, 1024 * 1024, "tile alloc"); in vc5_start_draw()
60 job->tile_state = vc5_bo_alloc(vc5->screen, in vc5_start_draw()
61 job->draw_tiles_y * in vc5_start_draw()
62 job->draw_tiles_x * in vc5_start_draw()
72 cl_emit(&job->bcl, TILE_BINNING_MODE_CONFIGURATION_PART2, config) { in vc5_start_draw()
[all …]
Dvc5_emit.c133 struct vc5_job *job = vc5->job; in emit_one_texture() local
143 vc5_cl_ensure_space(&job->indirect, in emit_one_texture()
147 job->indirect.bo); in emit_one_texture()
243 cl_packet_pack(TEXTURE_SHADER_STATE)(&job->indirect, packed, &unpacked); in emit_one_texture()
249 vc5_cl_ensure_space(&job->indirect, ARRAY_SIZE(packed), 32); in emit_one_texture()
250 cl_emit_prepacked(&job->indirect, &packed); in emit_one_texture()
276 emit_rt_blend(struct vc5_context *vc5, struct vc5_job *job, in emit_rt_blend() argument
279 cl_emit(&job->bcl, BLEND_CONFIG, config) { in emit_rt_blend()
310 struct vc5_job *job = vc5->job; in v3dX() local
333 maxx = MIN2(vp_maxx, job->draw_width); in v3dX()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c42 vc4_job_free(struct vc4_context *vc4, struct vc4_job *job) in vc4_job_free() argument
44 struct vc4_bo **referenced_bos = job->bo_pointers.base; in vc4_job_free()
45 for (int i = 0; i < cl_offset(&job->bo_handles) / 4; i++) { in vc4_job_free()
49 remove_from_ht(vc4->jobs, &job->key); in vc4_job_free()
51 if (job->color_write) { in vc4_job_free()
52 remove_from_ht(vc4->write_jobs, job->color_write->texture); in vc4_job_free()
53 pipe_surface_reference(&job->color_write, NULL); in vc4_job_free()
55 if (job->msaa_color_write) { in vc4_job_free()
56 remove_from_ht(vc4->write_jobs, job->msaa_color_write->texture); in vc4_job_free()
57 pipe_surface_reference(&job->msaa_color_write, NULL); in vc4_job_free()
[all …]
Dvc4_draw.c38 vc4_get_draw_cl_space(struct vc4_job *job, int vert_count) in vc4_get_draw_cl_space() argument
48 cl_ensure_space(&job->bcl, in vc4_get_draw_cl_space()
58 cl_ensure_space(&job->shader_rec, in vc4_get_draw_cl_space()
66 cl_ensure_space(&job->bo_handles, (2 * 16 + 20) * sizeof(uint32_t)); in vc4_get_draw_cl_space()
67 cl_ensure_space(&job->bo_pointers, in vc4_get_draw_cl_space()
77 struct vc4_job *job = vc4->job; in vc4_start_draw() local
79 if (job->needs_flush) in vc4_start_draw()
82 vc4_get_draw_cl_space(job, 0); in vc4_start_draw()
84 cl_emit(&job->bcl, TILE_BINNING_MODE_CONFIGURATION, bin) { in vc4_start_draw()
85 bin.width_in_tiles = job->draw_tiles_x; in vc4_start_draw()
[all …]
Dvc4_emit.c30 struct vc4_job *job = vc4->job; in vc4_emit_state() local
53 maxx = MIN2(vp_maxx, job->draw_width); in vc4_emit_state()
54 maxy = MIN2(vp_maxy, job->draw_height); in vc4_emit_state()
62 cl_emit(&job->bcl, CLIP_WINDOW, clip) { in vc4_emit_state()
69 job->draw_min_x = MIN2(job->draw_min_x, minx); in vc4_emit_state()
70 job->draw_min_y = MIN2(job->draw_min_y, miny); in vc4_emit_state()
71 job->draw_max_x = MAX2(job->draw_max_x, maxx); in vc4_emit_state()
72 job->draw_max_y = MAX2(job->draw_max_y, maxy); in vc4_emit_state()
81 struct vc4_cl_out *bcl = cl_start(&job->bcl); in vc4_emit_state()
91 if (job->msaa || vc4->prog.fs->disable_early_z) in vc4_emit_state()
[all …]
/external/toolchain-utils/automation/server/
Djob_executer.py9 from automation.common import job
22 self.job = job_to_execute
27 self.name = '%s-%s' % (self.__class__.__name__, self.job.id)
30 self._executer = LoggingCommandExecuter(self.job.dry_run)
35 self.job.primary_machine.hostname,
36 self.job.primary_machine.username,
40 raise job.JobFailure(fail_msg, exit_code)
47 raise job.JobFailure(fail_msg, exit_code)
53 self._logger.debug('Cleaning up %r work directory.', self.job)
54 self._RunRemotely(cmd.RmTree(self.job.work_dir), 'Cleanup workdir failed.')
[all …]
/external/v8/src/compiler-dispatcher/
Dcompiler-dispatcher.cc25 bool DoNextStepOnMainThread(Isolate* isolate, CompilerDispatcherJob* job, in DoNextStepOnMainThread() argument
30 switch (job->status()) { in DoNextStepOnMainThread()
32 job->PrepareOnMainThread(isolate); in DoNextStepOnMainThread()
35 job->Compile(false); in DoNextStepOnMainThread()
38 job->FinalizeOnMainThread(isolate); in DoNextStepOnMainThread()
41 job->ReportErrorsOnMainThread(isolate); in DoNextStepOnMainThread()
48 DCHECK_EQ(job->IsFailed(), isolate->has_pending_exception()); in DoNextStepOnMainThread()
49 if (job->IsFailed() && exception_handling == ExceptionHandling::kSwallow) { in DoNextStepOnMainThread()
52 return job->IsFailed(); in DoNextStepOnMainThread()
55 void DoNextStepOnBackgroundThread(CompilerDispatcherJob* job) { in DoNextStepOnBackgroundThread() argument
[all …]
Doptimizing-compile-dispatcher.cc22 void DisposeCompilationJob(OptimizedCompilationJob* job, in DisposeCompilationJob() argument
25 Handle<JSFunction> function = job->compilation_info()->closure(); in DisposeCompilationJob()
35 delete job; in DisposeCompilationJob()
100 OptimizedCompilationJob* job = input_queue_[InputQueueIndex(0)]; in NextInput() local
101 DCHECK_NOT_NULL(job); in NextInput()
107 DisposeCompilationJob(job, true); in NextInput()
111 return job; in NextInput()
114 void OptimizingCompileDispatcher::CompileNext(OptimizedCompilationJob* job) { in CompileNext() argument
115 if (!job) return; in CompileNext()
118 CompilationJob::Status status = job->ExecuteJob(); in CompileNext()
[all …]
/external/autotest/client/bin/
Djob_unittest.py14 from autotest_lib.client.bin import job, sysinfo, harness
26 job_class = job.base_client_job
30 self.god.stub_with(job.base_client_job, '_get_environ_autodir',
32 self.job = self.job_class.__new__(self.job_class)
33 self.job._job_directory = base_job_unittest.stub_job_directory
48 autodir, clientdir, _ = self.job._find_base_directories()
54 _, _, serverdir = self.job._find_base_directories()
71 self.god.stub_function_to_return(job.os, 'mkdir', None)
72 self.god.stub_function_to_return(job.os.path, 'exists', True)
73 self.god.stub_function_to_return(self.job, '_load_state', None)
[all …]
/external/toybox/toys/pending/
Dcrond.c53 struct double_list *job, *var; member
280 dlist_add_nomalloc((struct double_list **)&cfile->job, (struct double_list *)j); in parse_line()
329 JOB *jstart, *jlist = (JOB *)list->job; in remove_completed_jobs()
348 list->job = (struct double_list *)jlist; in remove_completed_jobs()
396 if (!cfile->job) { in scan_cronfiles()
423 static void do_fork(CRONFILE *cfile, JOB *job, int fd, char *prog) in do_fork() argument
459 execlp(file, file, (prog ? "-ti" : "-c"), (prog ? NULL : job->cmd), (char *) NULL); in do_fork()
462 if (!prog) dprintf(1, "Exec failed: %s -c %s\n", file, job->cmd); in do_fork()
471 job->pid = pid; in do_fork()
475 static void sendmail(CRONFILE *cfile, JOB *job) in sendmail() argument
[all …]
/external/autotest/client/site_tests/suite_HWQual/
Dcontrol.auto16 job.run_test('power_Resume',
20 job.run_test('platform_HighResTimers')
21 job.run_test('platform_KernelVersion')
24 job.run_test('platform_AesThroughput')
27 job.run_test('firmware_RomSize',
35 # job.run_test('firmware_VbootCrypto', suite='benchmarks', tag='benchmarks')
38 job.run_test('hardware_MemoryTotalSize')
39 job.run_test('hardware_MemoryThroughput', num_iteration=2500, test_list='21')
42 job.run_test('hardware_StorageFio',
56 job.run_test('hardware_DiskSize',
[all …]
/external/autotest/venv/lucifer/
Djobx.py30 def is_hostless(job): argument
35 return not hostnames(job)
38 def hostnames(job): argument
43 hqes = job.hostqueueentry_set.all().prefetch_related('host')
47 def is_aborted(job): argument
55 return job.hostqueueentry_set.filter(aborted=True).exists()
58 def is_server_job(job): argument
63 return not is_client_job(job)
66 def is_client_job(job): argument
77 return CONTROL_TYPE.get_value(job.control_type) == CONTROL_TYPE.CLIENT
[all …]
/external/autotest/tko/parsers/
Dversion_0_unittest.py22 self.god.stub_function(models.job, 'read_keyval')
23 self.god.stub_function(version_0.job, 'find_hostname')
42 models.job.read_keyval.expect_call('.').and_return(
45 job = version_0.job.load_from_dir('.')
46 self.assertEqual('janet', job['user'])
47 self.assertEqual('steeltown', job['label'])
48 self.assertEqual('abc123', job['machine'])
49 self.assertEqual('my_platform', job['machine_group'])
56 models.job.read_keyval.expect_call('.').and_return(raw_keyval)
61 version_0.job.find_hostname.expect_call('.').and_raises(
[all …]
/external/autotest/frontend/afe/doctests/
D003_misc_rpc_features.txt18 job.next_step('step0')
19 job.next_step('step1')
20 job.next_step('step2')
21 job.next_step('step3')
22 job.next_step('step4')
25 job.profilers.add('oprofile')
28 job.profilers.add('iostat')
36 job.profilers.delete('oprofile')
39 job.profilers.delete('iostat')
48 job.next_step('step0')
[all …]
/external/syzkaller/dashboard/app/
Djobs.go105 job := &Job{
149 if _, err := datastore.Put(c, jobKey, job); err != nil {
191 job, jobKey, err := loadPendingJob(c, managers)
192 if job == nil || err != nil {
193 return job, err
196 patch, _, err := getText(c, textPatch, job.Patch)
201 crashKey := datastore.NewKey(c, "Crash", "", job.CrashID, bugKey)
207 build, err := loadBuild(c, job.Namespace, crash.BuildID)
229 job = new(Job)
230 if err := datastore.Get(c, jobKey, job); err != nil {
[all …]
/external/autotest/venv/lucifer/cmd/
Djob_reporter.py102 job = models.Job.objects.get(id=args.job_id)
103 _prepare_autotest_job_files(args, job)
104 handler = _make_handler(args, job)
105 ret = _run_lucifer_job(handler, args, job)
111 def _prepare_autotest_job_files(args, job): argument
112 jobx.prepare_control_file(job, args.results_dir)
113 jobx.prepare_keyvals_files(job, args.results_dir)
116 def _make_handler(args, job): argument
120 job=job,
126 def _run_lucifer_job(event_handler, args, job): argument
[all …]
/external/autotest/tko/
Dparse.py156 def mailfailure(jobname, job, message): argument
176 mail.send("", job.user, "", subject, message_header + message)
307 def export_tko_job_to_file(job, jobname, filename): argument
317 serializer.serialize_to_binary(job, jobname, filename)
344 job_keyval = models.job.read_keyval(path)
348 job = parser.make_job(path)
354 _parse_status_log(parser, job, status_log_path)
357 job.job_idx = old_job_idx
358 unmatched_tests = _match_existing_tests(db, job)
362 job.afe_job_id = tko_utils.get_afe_job_id(jobname)
[all …]
Ddb.py481 def insert_job(self, tag, job, commit=None): argument
488 data = self._get_common_job_data(tag, job)
490 'afe_job_id': job.afe_job_id,
491 'afe_parent_job_id': job.afe_parent_job_id,
493 if job.job_idx is not None:
495 'tko_jobs', data, {'job_idx': job.job_idx}, commit=commit)
498 job.job_idx = self.get_last_autonumber_value()
501 def _get_common_job_data(self, tag, job): argument
505 'label': job.label,
506 'username': job.user,
[all …]
/external/tensorflow/tensorflow/python/client/
Dsession_clusterspec_prop_test.py57 job = cluster_def.job.add()
58 job.name = 'worker'
59 job.tasks[0] = server1.target[len('grpc://'):]
60 job.tasks[1] = server2.target[len('grpc://'):]
72 job = cluster_def.job.add()
73 job.name = 'worker'
74 job.tasks[0] = server1.target[len('grpc://'):]
75 job.tasks[1] = server2.target[len('grpc://'):]
100 job = cluster_def.job.add()
101 job.name = 'worker'
[all …]
/external/autotest/server/cros/dynamic_suite/
Djob_status_unittest.py47 def expect_yield_job_entries(self, job): argument
48 entries = [s.entry for s in job.statuses]
50 job=job.id).AndReturn(entries)
52 self.tko.get_job_test_statuses_from_db(job.id).AndReturn(
53 job.statuses)
78 job_id_set = set([job.id for job in jobs])
88 for job in yield_this:
89 self.expect_yield_job_entries(job)
90 job_id_set.remove(job.id)
97 for job in jobs[:6]: # the 'GOOD' SERVER_JOB shouldn't be there.
[all …]
/external/autotest/client/samples/
Dcontrol.oprofile_power518 job.profilers.add('oprofile')
19 job.run_test('sleeptest', seconds=5, tag='default')
20 job.profilers.delete('oprofile')
23 job.profilers.add('oprofile', '/boot/vmlinux-autotest')
24 job.run_test('sleeptest', seconds=5, tag='vmlinux')
25 job.profilers.delete('oprofile')
28 job.profilers.add('oprofile', None, ['PM_RUN_CYC_GRP153:100000'])
29 job.run_test('sleeptest', seconds=5, tag='one')
30 job.profilers.delete('oprofile')
33 job.profilers.add('oprofile', None,
[all …]
/external/toolchain-utils/automation/server/monitor/
Ddashboard.py44 job = self._job
46 group = [Link('/job-group/%d' % job.group.id, job.group.label)]
49 for pred in job.predecessors]
52 for succ in job.successors]
55 for mach in job.machines]
57 logs = [Link('/job/%d/log' % job.id, 'Log')]
59 commands = enumerate(job.PrettyFormatCommand().split('\n'), start=1)
61 return {'text': [('Label', job.label), ('Directory', job.work_dir)],
119 def _GetJobStatus(self, job): argument
121 return status_map.get(str(job.status), None)
[all …]
/external/autotest/site_utils/sponge_lib/
Dsponge_utils_functional_test.py97 test.job = self.mox.CreateMockAnything()
98 test.job.user = 'debug_user'
99 test.job.machines = ['host1']
117 job = self.mox.CreateMockAnything()
118 job.started_time = datetime.datetime(2016, 8, 15, 0, 0, 0)
119 job.finished_time = datetime.datetime(2016, 8, 15, 1, 0, 0)
120 job.keyval_dict = {'drone': 'server1',
131 job.dir = os.path.join(self.tmp_dir, '123-debug_user/host1')
132 job.label = 'dummy_PassServer'
134 job.tests = []
[all …]

12345678910>>...167