Home
last modified time | relevance | path

Searched refs:job_info (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/
Dtbe_helper.py32 def check_job_json(job_info): argument
38 if 'source_id' not in job_info:
40 if 'job_id' not in job_info:
42 if 'job_type' not in job_info or not job_info['job_type']:
44 if job_info['job_type'] not in job_type_list:
45 raise ValueError("Invalid job type: {}.".format(job_info['job_type']))
46 if 'job_content' not in job_info:
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c1303 struct lp_cs_job_info *job_info = init_data; in cs_exec_fn() local
1308 if (lmem->local_size < job_info->req_local_mem) { in cs_exec_fn()
1310 job_info->req_local_mem); in cs_exec_fn()
1311 lmem->local_size = job_info->req_local_mem; in cs_exec_fn()
1315 unsigned grid_z = iter_idx / (job_info->grid_size[0] * job_info->grid_size[1]); in cs_exec_fn()
1316 …unsigned grid_y = (iter_idx - (grid_z * (job_info->grid_size[0] * job_info->grid_size[1]))) / job_… in cs_exec_fn()
1317 …unsigned grid_x = (iter_idx - (grid_z * (job_info->grid_size[0] * job_info->grid_size[1])) - (grid… in cs_exec_fn()
1319 grid_z += job_info->grid_base[2]; in cs_exec_fn()
1320 grid_y += job_info->grid_base[1]; in cs_exec_fn()
1321 grid_x += job_info->grid_base[0]; in cs_exec_fn()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dascend_kernel_compile.cc490 nlohmann::json job_info; in JsonAssemble() local
492 job_info[kProcessNum] = process_num; in JsonAssemble()
493 job_info[kLogLevel] = GetLogLevel(); in JsonAssemble()
494 job_info[kEnableEvent] = false; in JsonAssemble()
495 job_info[kParaDebugPath] = GetParaDebugPath(); in JsonAssemble()
496 job_info[kTbeImplPath] = GetTbePath(); in JsonAssemble()
497 job_info[kSocInfo] = src_json; in JsonAssemble()
502 job_info[kTuneInfo] = tune_infos; in JsonAssemble()
505 job_info[kLicInfo] = lic_infos; in JsonAssemble()
506 (*dst_json)[kJobContent] = job_info; in JsonAssemble()