Home
last modified time | relevance | path

Searched refs:scratch_buffer (Results 1 – 25 of 31) sorted by relevance

12

/external/epid-sdk/epid/common/math/src/
Decgroup.c58 OctStr scratch_buffer = NULL; in NewEcGroup() local
144 scratch_buffer = (OctStr)SAFE_ALLOC(scratch_size); in NewEcGroup()
145 if (!scratch_buffer) { in NewEcGroup()
155 grp->scratch_buffer = scratch_buffer; in NewEcGroup()
162 SAFE_FREE(scratch_buffer); in NewEcGroup()
176 if ((*g)->scratch_buffer) { in DeleteEcGroup()
177 SAFE_FREE((*g)->scratch_buffer); in DeleteEcGroup()
178 (*g)->scratch_buffer = NULL; in DeleteEcGroup()
549 g->scratch_buffer); in EcExp()
623 g->ipp_ec, g->scratch_buffer); in EcMultiExp()
[all …]
Dfinitefield.c909 OctStr scratch_buffer = NULL; in FfExp() local
940 scratch_buffer = (OctStr)SAFE_ALLOC(element_size); in FfExp()
941 if (!scratch_buffer) { in FfExp()
947 scratch_buffer); in FfExp()
958 SAFE_FREE(scratch_buffer); in FfExp()
968 OctStr scratch_buffer = NULL; in FfMultiExp() local
1046 scratch_buffer = (OctStr)SAFE_ALLOC(scratch_buffer_size); in FfMultiExp()
1047 if (!scratch_buffer) { in FfMultiExp()
1054 r->ipp_ff_elem, ff->ipp_ff, scratch_buffer); in FfMultiExp()
1072 SAFE_FREE(scratch_buffer); in FfMultiExp()
[all …]
Decgroup-internal.h33 OctStr scratch_buffer; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c371 if (!sctx->scratch_buffer || in si_cp_dma_realign_engine()
372 sctx->scratch_buffer->b.b.width0 < scratch_size) { in si_cp_dma_realign_engine()
373 r600_resource_reference(&sctx->scratch_buffer, NULL); in si_cp_dma_realign_engine()
374 sctx->scratch_buffer = (struct r600_resource*) in si_cp_dma_realign_engine()
379 if (!sctx->scratch_buffer) in si_cp_dma_realign_engine()
385 si_cp_dma_prepare(sctx, &sctx->scratch_buffer->b.b, in si_cp_dma_realign_engine()
386 &sctx->scratch_buffer->b.b, size, size, user_flags, in si_cp_dma_realign_engine()
389 va = sctx->scratch_buffer->gpu_address; in si_cp_dma_realign_engine()
Dsi_hw_context.c268 if (ctx->scratch_buffer) { in si_begin_new_cs()
270 &ctx->scratch_buffer->b.b); in si_begin_new_cs()
Dsi_state_shaders.c2817 uint64_t scratch_va = sctx->scratch_buffer->gpu_address; in si_update_scratch_buffer()
2836 if (shader->scratch_bo == sctx->scratch_buffer) { in si_update_scratch_buffer()
2841 assert(sctx->scratch_buffer); in si_update_scratch_buffer()
2858 r600_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()
2866 return sctx->scratch_buffer ? sctx->scratch_buffer->b.b.width0 : 0; in si_get_current_scratch_buffer_size()
2968 r600_resource_reference(&sctx->scratch_buffer, NULL); in si_update_spi_tmpring_size()
2970 sctx->scratch_buffer = (struct r600_resource*) in si_update_spi_tmpring_size()
2975 if (!sctx->scratch_buffer) in si_update_spi_tmpring_size()
2980 &sctx->scratch_buffer->b.b); in si_update_spi_tmpring_size()
3396 if (sctx->scratch_buffer) { in si_emit_scratch_state()
[all …]
Dsi_pipe.h565 struct r600_resource *scratch_buffer; member
/external/libxaac/decoder/drc_src/
Dimpd_drc_main_td_qmf_process.c163 FLOAT32 *scratch_buffer; in impd_init_process_audio_main_td_qmf() local
166 scratch_buffer = (FLOAT32 *)p_obj_drc->pp_mem[1]; in impd_init_process_audio_main_td_qmf()
184 audio_in_out_buf[i] = scratch_buffer; in impd_init_process_audio_main_td_qmf()
185 scratch_buffer = scratch_buffer + (p_obj_drc->str_config.frame_size + 32); in impd_init_process_audio_main_td_qmf()
187 scratch_buffer + in impd_init_process_audio_main_td_qmf()
190 audio_io_buf_imag[i] = scratch_buffer + in impd_init_process_audio_main_td_qmf()
Dimpd_drc_main_qmf_process.c87 FLOAT32 *scratch_buffer; in impd_init_process_audio_main_qmf() local
89 scratch_buffer = (FLOAT32 *)p_obj_drc->pp_mem[1]; in impd_init_process_audio_main_qmf()
104 scratch_buffer + i * (p_obj_drc->str_config.frame_size + 32); in impd_init_process_audio_main_qmf()
106 scratch_buffer + in impd_init_process_audio_main_qmf()
Dimpd_drc_main_stft_process.c85 FLOAT32 *scratch_buffer; in impd_init_process_audio_main_stft() local
87 scratch_buffer = (FLOAT32 *)p_obj_drc->pp_mem[1]; in impd_init_process_audio_main_stft()
102 scratch_buffer + i * (p_obj_drc->str_config.frame_size + 32); in impd_init_process_audio_main_stft()
104 scratch_buffer + in impd_init_process_audio_main_stft()
Dimpd_drc_main_td_process.c82 FLOAT32 *scratch_buffer; in impd_process_time_domain() local
85 scratch_buffer = (FLOAT32 *)p_obj_drc->pp_mem[1]; in impd_process_time_domain()
150 scratch_buffer + i * (p_obj_drc->str_config.frame_size + 32); in impd_process_time_domain()
161 scratch_buffer + i * (p_obj_drc->str_config.frame_size + 32); in impd_process_time_domain()
/external/tensorflow/tensorflow/lite/kernels/
Dlstm_eval.cc895 int output_offset, TfLiteTensor* scratch_buffer, in EvalFloat()
927 cell_scratch = scratch_buffer->data.f; in EvalFloat()
928 forget_gate_scratch = scratch_buffer->data.f + n_cell * n_batch; in EvalFloat()
929 output_gate_scratch = scratch_buffer->data.f + 2 * n_cell * n_batch; in EvalFloat()
931 input_gate_scratch = scratch_buffer->data.f; in EvalFloat()
932 cell_scratch = scratch_buffer->data.f + n_cell * n_batch; in EvalFloat()
933 forget_gate_scratch = scratch_buffer->data.f + 2 * n_cell * n_batch; in EvalFloat()
934 output_gate_scratch = scratch_buffer->data.f + 3 * n_cell * n_batch; in EvalFloat()
1093 int output_offset, TfLiteTensor* scratch_buffer, in EvalHybrid()
1129 cell_scratch = scratch_buffer->data.f; in EvalHybrid()
[all …]
Dunidirectional_sequence_lstm.cc322 TfLiteTensor* scratch_buffer = GetTemporary(context, node, kScratchBuffer); in Prepare() local
323 scratch_buffer->type = input->type; in Prepare()
324 scratch_buffer->allocation_type = kTfLiteArenaRw; in Prepare()
338 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, scratch_buffer, in Prepare()
483 TfLiteTensor* scratch_buffer = GetTemporary(context, node, /*index=*/0); in Eval() local
517 /*output_offset=*/0, scratch_buffer, activation_state, cell_state, in Eval()
549 /*output_offset=*/0, scratch_buffer, scaling_factors, in Eval()
Dlstm_eval.h51 int output_offset, TfLiteTensor* scratch_buffer,
80 int output_offset, TfLiteTensor* scratch_buffer,
Dlstm.cc398 TfLiteTensor* scratch_buffer = GetTemporary(context, node, /*index=*/0); in Prepare() local
399 scratch_buffer->type = input->type; in Prepare()
400 scratch_buffer->allocation_type = kTfLiteArenaRw; in Prepare()
414 TF_LITE_ENSURE_OK(context, context->ResizeTensor(context, scratch_buffer, in Prepare()
568 TfLiteTensor* scratch_buffer = GetTemporary(context, node, /*index=*/0); in Eval() local
596 /*output_offset=*/0, scratch_buffer, activation_state, cell_state, in Eval()
626 /*time_major=*/true, /*output_offset=*/0, scratch_buffer, in Eval()
/external/epid-sdk/epid/common/math/unittests/
Dpairing-test.cc144 ga.scratch_buffer = nullptr; in TEST_F()
156 gb.scratch_buffer = nullptr; in TEST_F()
/external/libxaac/decoder/
Dixheaacd_imdct.c209 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_cal_fac_data()
299 WORD32 *scratch_mem = usac_data->scratch_buffer; in ixheaacd_fd_imdct_short()
425 WORD32 *scratch_mem = usac_data->scratch_buffer; in ixheaacd_fd_imdct_long()
Dixheaacd_fwd_alias_cnx.c104 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_fwd_alias_cancel_tool()
Dixheaacd_main.h151 WORD32 scratch_buffer[1024]; member
Dixheaacd_acelp_mdct.c224 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_acelp_mdct_main()
Dixheaacd_tns.c203 ptr_spec = &usac_data->scratch_buffer[0]; in ixheaacd_tns_apply()
Dixheaacd_arith_dec.c2094 WORD8 *ptr_scratch_buf = (WORD8 *)&usac_data->scratch_buffer[0]; in ixheaacd_ac_spectral_data()
2141 WORD8 *ptr_scratch_buf = (WORD8 *)&usac_data->scratch_buffer[0]; in ixheaacd_arith_data()
Dixheaacd_spectrum_dec.c357 WORD8 *ptr_code_book = (WORD8 *)&usac_data->scratch_buffer; in ixheaacd_fd_channel_stream()
Dixheaacd_tcx_fwd_alcnx.c168 WORD32 *ptr_scratch = &usac_data->scratch_buffer[0]; in ixheaacd_tcx_mdct()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc349 void* scratch_buffer = gpu_allocator_->AllocateRaw( in InitScratchBuffers() local
351 if (scratch_buffer == nullptr) { in InitScratchBuffers()
357 se::DeviceMemoryBase(scratch_buffer, scratch_buffer_size)); in InitScratchBuffers()
366 scratch_.push_back(static_cast<char*>(scratch_buffer)); in InitScratchBuffers()

12