/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
D | fft_util.cc | 45 size_t scratch_size = 0; in FftPopulateState() local 47 state->fft_size, 0, nullptr, &scratch_size); in FftPopulateState() 52 state->scratch = malloc(scratch_size); in FftPopulateState() 57 state->scratch_size = scratch_size; in FftPopulateState() 60 state->scratch, &scratch_size); in FftPopulateState()
|
D | fft_io.c | 21 fprintf(fp, "static char fft_scratch[%zu];\n", state->scratch_size); in FftWriteMemmapPreamble() 32 fprintf(fp, "%s->scratch_size = %zu;\n", variable, state->scratch_size); in FftWriteMemmap()
|
D | fft.h | 36 size_t scratch_size; member
|
/external/mesa3d/src/amd/common/ |
D | ac_binary.c | 43 uint32_t scratch_size = 0; in ac_parse_shader_binary_config() local 99 scratch_size = value; in ac_parse_shader_binary_config() 126 conf->scratch_bytes_per_wave = G_00B860_WAVESIZE(scratch_size) * 256 * 4; in ac_parse_shader_binary_config()
|
/external/harfbuzz_ng/src/ |
D | hb-graphite2.cc | 238 unsigned int scratch_size; in _hb_graphite2_shape() local 239 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape() 276 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape() 278 DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) in _hb_graphite2_shape() 286 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape() 293 assert (_consumed <= scratch_size); \ in _hb_graphite2_shape() 295 scratch_size -= _consumed; \ in _hb_graphite2_shape()
|
D | hb-coretext.cc | 592 unsigned int scratch_size; in _hb_coretext_shape() local 593 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape() 599 if (unlikely (_consumed > scratch_size)) \ in _hb_coretext_shape() 605 scratch_size -= _consumed; \ in _hb_coretext_shape() 669 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape() 673 scratch_size -= old_scratch_used; in _hb_coretext_shape() 961 unsigned int scratch_size_saved = scratch_size; \ in _hb_coretext_shape() 965 scratch_size = scratch_size_saved; \ in _hb_coretext_shape()
|
D | hb-directwrite.cc | 562 unsigned int scratch_size; in _hb_directwrite_shape_full() local 563 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_directwrite_shape_full() 568 assert (_consumed <= scratch_size); \ in _hb_directwrite_shape_full() 570 scratch_size -= _consumed; \ in _hb_directwrite_shape_full() 692 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_directwrite_shape_full()
|
D | hb-uniscribe.cc | 731 unsigned int scratch_size; in _hb_uniscribe_shape() 732 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape() 738 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape() 740 scratch_size -= _consumed; \ in _hb_uniscribe_shape() 781 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instruction_fetch.cpp | 196 FetchInstruction::FetchInstruction(GPRVector dst, PValue src, int scratch_size): in FetchInstruction() argument 227 m_array_size = scratch_size - 1; 299 LoadFromScratch::LoadFromScratch(GPRVector dst, PValue src, int scratch_size): in LoadFromScratch() argument 300 FetchInstruction(dst, src, scratch_size) in LoadFromScratch()
|
D | sfn_instruction_fetch.h | 79 FetchInstruction(GPRVector dst, PValue src, int scratch_size); 169 LoadFromScratch(GPRVector dst, PValue src, int scratch_size);
|
D | sfn_nir.h | 86 int scratch_size; variable
|
D | sfn_shader_base.h | 60 r600_shader& sh_info, int scratch_size, enum chip_class _chip_class,
|
D | sfn_shader_base.cpp | 61 r600_shader &sh_info, int scratch_size, in ShaderFromNirProcessor() argument 74 m_scratch_size(scratch_size), in ShaderFromNirProcessor()
|
D | sfn_nir.cpp | 862 pipeshader->scratch_space_needed = sel->nir->scratch_size; in r600_shader_from_nir()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_scratch.c | 139 var->data.location = ALIGN_POT(shader->scratch_size, var_align); in nir_lower_vars_to_scratch() 140 shader->scratch_size = var->data.location + var_size; in nir_lower_vars_to_scratch()
|
D | nir_clone.c | 775 ns->scratch_size = s->scratch_size; in nir_shader_clone()
|
D | nir_print.c | 1645 if (shader->scratch_size) in nir_print_shader_annotated() 1646 fprintf(fp, "scratch: %u\n", shader->scratch_size); in nir_print_shader_annotated()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_cp_dma.c | 259 unsigned scratch_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine() local 266 if (!sctx->scratch_buffer || sctx->scratch_buffer->b.b.width0 < scratch_size) { in si_cp_dma_realign_engine() 270 PIPE_USAGE_DEFAULT, scratch_size, 256); in si_cp_dma_realign_engine()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 1157 unsigned scratch_size = 0; in setup_isel_context() local 1168 scratch_size = std::max(scratch_size, shaders[i]->scratch_size); in setup_isel_context() 1171 ctx.program->config->scratch_bytes_per_wave = align(scratch_size * ctx.program->wave_size, 1024); in setup_isel_context()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | xsmm_conv2d.cc | 401 const size_t scratch_size = libxsmm_dnn_get_scratch_size( in CallLibxsmmConvGeneric() local 405 libxsmm_aligned_scratch(scratch_size, 2097152 /*alignment*/); in CallLibxsmmConvGeneric()
|
D | conv_ops_3d.cc | 528 result.set_scratch_bytes(profile_result.scratch_size()); in launch()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.h | 222 unsigned scratch_size; member
|
D | lp_bld_nir_soa.c | 1850 unsigned scratch_size) in get_scratch_thread_offsets() argument 1860 elems[i] = LLVMConstInt(elem_type, scratch_size * i, 0); in get_scratch_thread_offsets() 1876 …MValueRef thread_offsets = get_scratch_thread_offsets(gallivm, uint_bld->type, bld->scratch_size);; in emit_load_scratch() 1938 …MValueRef thread_offsets = get_scratch_thread_offsets(gallivm, uint_bld->type, bld->scratch_size);; in emit_store_scratch() 2123 if (shader->scratch_size) { in lp_build_nir_soa() 2126 … lp_build_const_int32(gallivm, shader->scratch_size * type.length), in lp_build_nir_soa() 2129 bld.scratch_size = shader->scratch_size; in lp_build_nir_soa()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | dnn.h | 810 size_t scratch_size() const { return scratch_size_; } 841 AlgorithmConfig(AlgorithmDesc algorithm, size_t scratch_size) 842 : algorithm_(algorithm), scratch_size_(scratch_size) {} 853 absl::optional<size_t> scratch_size() const { return scratch_size_; }
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | gpu_conv_algorithm_picker.cc | 688 result.set_scratch_bytes(profile_result.scratch_size()); in PickBestAlgorithmNoCacheRocm()
|