Home
last modified time | relevance | path

Searched refs:var_size (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_large_constants.c76 UNUSED unsigned var_size, var_align; in build_constant_load() local
77 size_align(var->type, &var_size, &var_align); in build_constant_load()
87 .range = var_size, in build_constant_load()
114 unsigned var_size, var_align; in handle_constant_store() local
115 size_align(info->var->type, &var_size, &var_align); in handle_constant_store()
116 info->constant_data_size = var_size; in handle_constant_store()
117 info->constant_data = rzalloc_size(mem_ctx, var_size); in handle_constant_store()
306 unsigned var_size, var_align; in nir_opt_large_constants() local
307 size_align(info->var->type, &var_size, &var_align); in nir_opt_large_constants()
308 if (var_size <= threshold || !info->found_read) { in nir_opt_large_constants()
[all …]
Dnir_lower_scratch.c137 unsigned var_size, var_align; in nir_lower_vars_to_scratch() local
138 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch()
139 if (var_size <= size_threshold) in nir_lower_vars_to_scratch()
210 unsigned var_size, var_align; in nir_lower_vars_to_scratch() local
211 size_align(var->type, &var_size, &var_align); in nir_lower_vars_to_scratch()
214 shader->scratch_size = var->data.location + var_size; in nir_lower_vars_to_scratch()
Dnir_linking_helpers.c1437 unsigned var_size, driver_size; in nir_assign_io_var_locations() local
1453 var_size = driver_size = end / 4 - location; in nir_assign_io_var_locations()
1474 var_size = in nir_assign_io_var_locations()
1477 var_size = driver_size; in nir_assign_io_var_locations()
1488 for (unsigned i = 0; i < var_size; i++) { in nir_assign_io_var_locations()
1517 unsigned last_slot_location = driver_location + var_size; in nir_assign_io_var_locations()
1520 unsigned first_unallocated_slot = var_size - num_unallocated_slots; in nir_assign_io_var_locations()
1521 for (unsigned i = first_unallocated_slot; i < var_size; i++) { in nir_assign_io_var_locations()
1529 for (unsigned i = 0; i < var_size; i++) { in nir_assign_io_var_locations()
/third_party/ffmpeg/libavcodec/
Dexr.c1520 int var_size = -1; in check_header_variable() local
1528 var_size = bytestream2_get_le32(gb); in check_header_variable()
1530 if (var_size > bytestream2_get_bytes_left(gb)) in check_header_variable()
1531 var_size = 0; in check_header_variable()
1541 return var_size; in check_header_variable()
1608 int var_size; in decode_header() local
1643 if ((var_size = check_header_variable(s, "channels", in decode_header()
1646 if (!var_size) { in decode_header()
1651 bytestream2_init(&ch_gb, gb->buffer, var_size); in decode_header()
1790 } else if ((var_size = check_header_variable(s, "dataWindow", "box2i", in decode_header()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/ge_runtime/
Ddavinci_model.h30 uint64_t var_size = 0, uintptr_t logic_mem_base = 0, uintptr_t logic_weight_base = 0,
38 var_size_(var_size), in task_info_list_()
/third_party/libuv/src/win/
Dprocess.c691 DWORD var_size; in make_program_env() local
760 var_size = GetEnvironmentVariableW(required_vars[i].wide, NULL, 0); in make_program_env()
761 required_vars_value_len[i] = var_size; in make_program_env()
762 if (var_size != 0) { in make_program_env()
764 env_len += var_size; in make_program_env()
800 var_size = GetEnvironmentVariableW(required_vars[i].wide, in make_program_env()
803 if (var_size != (DWORD) (len - 1)) { /* TODO: handle race condition? */ in make_program_env()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dfused_cast_adam_weight_decay_cpu_kernel.cc133 size_t var_size = var_dtype_ == kNumberTypeFloat16 ? elem_size_fp16 : elem_size_fp32; in CheckParam() local
134 …if (inputs[VAR]->size != var_size || inputs[M]->size != elem_size_fp32 || inputs[V]->size != elem_… in CheckParam()
/third_party/mesa3d/src/compiler/glsl/
Dlower_shared_reference.cpp116 unsigned var_size = var->type->std430_size(false); in get_shared_offset() local
117 shared_size = new_entry->offset + var_size; in get_shared_offset()
/third_party/quickjs/
Dquickjs.c19988 int var_size; /* allocated size for vars[] */ member
21858 &fd->var_size, fd->var_count + 1)) in add_var()