Home
last modified time | relevance | path

Searched refs:num_vars (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp60 assert(var < num_vars); in setup_one_read()
78 assert(var < num_vars); in setup_one_write()
264 num_vars = 0; in fs_live_variables()
267 var_from_vgrf[i] = num_vars; in fs_live_variables()
268 num_vars += s->alloc.sizes[i]; in fs_live_variables()
271 vgrf_from_var = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
278 start = ralloc_array(mem_ctx, int, num_vars); in fs_live_variables()
279 end = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
280 for (int i = 0; i < num_vars; i++) { in fs_live_variables()
294 bitset_words = BITSET_WORDS(num_vars); in fs_live_variables()
[all …]
Dbrw_fs_dead_code_eliminate.cpp80 int num_vars = live_vars.num_vars; in dead_code_eliminate() local
81 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
86 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_vec4_live_variables.cpp204 for (int i = 0; i < num_vars; i++) { in compute_start_end()
223 num_vars = alloc.total_size * 8; in vec4_live_variables()
224 start = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
225 end = ralloc_array(mem_ctx, int, num_vars); in vec4_live_variables()
227 for (int i = 0; i < num_vars; i++) { in vec4_live_variables()
234 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
262 if (var + j >= unsigned(live->num_vars) || in check_register_live_range()
Dbrw_vec4_dead_code_eliminate.cpp45 int num_vars = live_vars.num_vars; in dead_code_eliminate() local
46 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
51 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_fs_live_variables.h111 int num_vars; variable
Dbrw_vec4_live_variables.h81 int num_vars; variable
Dbrw_vec4.cpp1526 int num_vars = this->alloc.count; in split_virtual_grfs() local
1527 int new_virtual_grf[num_vars]; in split_virtual_grfs()
1528 bool split_grf[num_vars]; in split_virtual_grfs()
1533 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
1553 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
Dbrw_schedule_instructions.cpp750 for (int i = 0; i < live.num_vars; i++) { in setup_liveness()
Dbrw_fs.cpp1984 int num_vars = this->alloc.count; in split_virtual_grfs() local
1988 int vgrf_to_reg[num_vars]; in split_virtual_grfs()
1989 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
2050 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
/external/angle/src/tests/compiler_tests/
DVariablePacker_test.cpp96 int num_vars = kMaxRows / num_rows; in TEST() local
98 vars.push_back(CreateShaderVariable(type, num_vars)); in TEST()
103 vars.push_back(CreateShaderVariable(type, num_vars + 1)); in TEST()
107 num_vars = in TEST()
110 for (int ii = 0; ii < num_vars; ++ii) in TEST()
/external/tensorflow/tensorflow/python/ops/
Dcollective_ops_test.py132 def _testWhile(self, num_vars, num_iterations, key_base): argument
135 instances = [(key_base + i) for i in range(num_vars)]
150 [variables.VariableV1((1 << i) * 1.) for i in range(num_vars)])
160 for j in range(num_vars):
180 [((1 << (num_iterations + v)) * 1.) for v in range(num_vars)]
185 self._testWhile(num_vars=1, num_iterations=4, key_base=20)
189 self._testWhile(num_vars=2, num_iterations=4, key_base=20)
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_builtins.c122 unsigned num_vars, in st_nir_make_passthrough_shader() argument
137 for (unsigned i = 0; i < num_vars; i++) { in st_nir_make_passthrough_shader()
Dst_nir.h72 unsigned num_vars,
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dloss_scale_benchmark.py97 num_vars = 200
109 variables.Variable(i, dtype='float32') for i in range(num_vars)]
/external/tensorflow/tensorflow/python/eager/
Dremote_benchmarks_test.py64 def __init__(self, num_vars): argument
65 self._num_vars = num_vars
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadam.py187 num_vars = int((len(params) - 1) / 2)
188 if len(weights) == 3 * num_vars + 1:
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c264 qir_compute_start_end(struct vc4_compile *c, int num_vars) in qir_compute_start_end() argument
267 for (int i = 0; i < num_vars; i++) { in qir_compute_start_end()
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_to_vector.c159 unsigned num_vars = 0; in get_flat_type() local
192 num_vars++; in get_flat_type()
199 if (num_vars <= 1) in get_flat_type()
Dnir_serialize.c430 unsigned num_vars = blob_read_uint32(ctx->blob); in read_var_list() local
431 for (unsigned i = 0; i < num_vars; i++) { in read_var_list()
/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c295 vir_compute_start_end(struct v3d_compile *c, int num_vars) in vir_compute_start_end() argument
298 for (int i = 0; i < num_vars; i++) { in vir_compute_start_end()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.c602 size_t num_vars, size_t *position) in spirv_builder_emit_phi() argument
606 assert(num_vars > 0); in spirv_builder_emit_phi()
607 int words = 3 + 2 * num_vars; in spirv_builder_emit_phi()
613 for (int i = 0; i < 2 * num_vars; ++i) in spirv_builder_emit_phi()
Dspirv_builder.h233 size_t num_vars, size_t *position);
/external/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp839 unsigned num_vars = 0; in get_regs_for_copies() local
889 if (k > num_moves || (k == num_moves && n <= num_vars)) { in get_regs_for_copies()
898 num_vars = n; in get_regs_for_copies()
971 unsigned num_vars = 0; in get_reg_impl() local
1030 if (k == num_moves && n < num_vars) in get_reg_impl()
1032 if (!aligned && k == num_moves && n == num_vars) in get_reg_impl()
1038 num_vars = n; in get_reg_impl()
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp111 find_assignment_visitor(unsigned num_vars, in find_assignment_visitor() argument
113 : num_variables(num_vars), num_found(0), variables(vars) in find_assignment_visitor()