Home
last modified time | relevance | path

Searched refs:num_constant (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dlower.c32 int num_constant = 0; in gpir_lower_const() local
39 num_constant++; in gpir_lower_const()
44 if (num_constant) { in gpir_lower_const()
45 union fi *constant = ralloc_array(comp->prog, union fi, num_constant); in gpir_lower_const()
50 comp->prog->constant_size = num_constant * sizeof(union fi); in gpir_lower_const()
/external/virglrenderer/src/
Dvrend_renderer.h342 uint32_t num_constant,
Dvrend_renderer.c2819 uint32_t num_constant, in vrend_set_constants() argument
2828 if (consts->num_allocated_consts < num_constant) { in vrend_set_constants()
2830 consts->consts = malloc(num_constant * sizeof(float)); in vrend_set_constants()
2833 consts->num_allocated_consts = num_constant; in vrend_set_constants()
2836 memcpy(consts->consts, data, num_constant * sizeof(unsigned int)); in vrend_set_constants()
2837 consts->num_consts = num_constant; in vrend_set_constants()
/external/tensorflow/tensorflow/python/kernel_tests/
Dinit_ops_test.py633 num_constant = constant_op.constant(num)
635 tf_ans = math_ops.linspace_nd(start, stop, num_constant, axis=axis)