Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dlocal_service.cc75 const ExecutableBuildOptions& build_options) { in CompileExecutable() argument
116 if (build_options.result_layout() != nullptr) { in CompileExecutable()
118 *build_options.result_layout(), program_shape->result())); in CompileExecutable()
122 if (build_options.generate_hlo_graph().has_value()) { in CompileExecutable()
124 build_options.generate_hlo_graph().value()); in CompileExecutable()
126 if (build_options.result_layout() != nullptr) { in CompileExecutable()
128 *build_options.result_layout(); in CompileExecutable()
142 execute_backend_->stream_executor(build_options.device_ordinal())); in CompileExecutable()
146 build_options.device_allocator()); in CompileExecutable()
/external/libxcam/modules/ocl/
Dcl_retinex_handler.cpp296 char build_options[1024]; in create_kernel_retinex_gaussian() local
298 xcam_mem_clear (build_options); in create_kernel_retinex_gaussian()
299 snprintf (build_options, sizeof (build_options), " -DGAUSS_RADIUS=%d ", radius); in create_kernel_retinex_gaussian()
304 …ERROR, kernel->build_kernel (kernel_retinex_info[KernelGaussian], build_options) == XCAM_RETURN_NO… in create_kernel_retinex_gaussian()
316 char build_options[1024]; in create_kernel_retinex() local
318 xcam_mem_clear (build_options); in create_kernel_retinex()
319 …snprintf (build_options, sizeof (build_options), " -DRETINEX_SCALE_SIZE=%d ", XCAM_RETINEX_MAX_SCA… in create_kernel_retinex()
324 …ERROR, kernel->build_kernel (kernel_retinex_info[KernelRetinex], build_options) == XCAM_RETURN_NO_… in create_kernel_retinex()
Dcl_newwavelet_denoise_handler.cpp774 char build_options[1024]; in create_kernel_haar_decomposition() local
775 xcam_mem_clear (build_options); in create_kernel_haar_decomposition()
777 snprintf (build_options, sizeof (build_options), in create_kernel_haar_decomposition()
789 …ernel->build_kernel (kernel_new_wavelet_info[KernelWaveletDecompose], build_options) == XCAM_RETUR… in create_kernel_haar_decomposition()
807 char build_options[1024]; in create_kernel_haar_reconstruction() local
808 xcam_mem_clear (build_options); in create_kernel_haar_reconstruction()
809 snprintf (build_options, sizeof (build_options), in create_kernel_haar_reconstruction()
823 …nel->build_kernel (kernel_new_wavelet_info[KernelWaveletReconstruct], build_options) == XCAM_RETUR… in create_kernel_haar_reconstruction()
839 char build_options[1024]; in create_kernel_noise_estimation() local
840 xcam_mem_clear (build_options); in create_kernel_noise_estimation()
[all …]
Dcl_gauss_handler.cpp196 char build_options[1024]; in create_cl_gauss_image_handler() local
198 xcam_mem_clear (build_options); in create_cl_gauss_image_handler()
199 snprintf (build_options, sizeof (build_options), " -DGAUSS_RADIUS=%d ", radius); in create_cl_gauss_image_handler()
205 …ERROR, gauss_kernel->build_kernel (kernel_gauss_info, build_options) == XCAM_RETURN_NO_ERROR, NULL, in create_cl_gauss_image_handler()
Dcl_3d_denoise_handler.cpp212 char build_options[1024]; in create_3d_denoise_kernel() local
213 xcam_mem_clear (build_options); in create_3d_denoise_kernel()
215 snprintf (build_options, sizeof (build_options), in create_3d_denoise_kernel()
235 …ERROR, kernel->build_kernel (kernel_3d_denoise_info[kernel_index], build_options) == XCAM_RETURN_N… in create_3d_denoise_kernel()
Dcl_image_warp_handler.cpp257 char build_options[1024]; in create_kernel_image_warp() local
258 xcam_mem_clear (build_options); in create_kernel_image_warp()
260 snprintf (build_options, sizeof (build_options), in create_kernel_image_warp()
267 …ERROR, warp_kernel->build_kernel (kernel_image_warp_info[KernelImageWarp], build_options) == XCAM_… in create_kernel_image_warp()
Dcl_video_stabilizer.cpp298 char build_options[1024]; in create_kernel_video_stab() local
299 xcam_mem_clear (build_options); in create_kernel_video_stab()
301 snprintf (build_options, sizeof (build_options), in create_kernel_video_stab()
308 …b_kernel->build_kernel (kernel_video_stab_warp_info[KernelImageWarp], build_options) == XCAM_RETUR… in create_kernel_video_stab()
Dcl_bayer_basic_handler.cpp419 char build_options[1024]; in create_cl_bayer_basic_image_handler() local
426 xcam_mem_clear (build_options); in create_cl_bayer_basic_image_handler()
427 snprintf (build_options, sizeof (build_options), in create_cl_bayer_basic_image_handler()
435 …ERROR, basic_kernel->build_kernel (kernel_bayer_basic_info, build_options) == XCAM_RETURN_NO_ERROR… in create_cl_bayer_basic_image_handler()
Dcl_geo_map_handler.cpp328 char build_options[1024]; in create_geo_map_kernel() local
329 snprintf (build_options, sizeof(build_options), "-DENABLE_LSC=%d", need_lsc ? 1 : 0); in create_geo_map_kernel()
331 ERROR, kernel->build_kernel (kernel_geo_map_info, build_options) == XCAM_RETURN_NO_ERROR, in create_geo_map_kernel()
Dcl_defog_dcp_handler.cpp398 char build_options[1024]; in create_kernel_min_filter() local
399 xcam_mem_clear (build_options); in create_kernel_min_filter()
401 build_options, sizeof (build_options), in create_kernel_min_filter()
407 kernel->build_kernel (kernels_info[KernelMinFilter], build_options) == XCAM_RETURN_NO_ERROR, in create_kernel_min_filter()
Dcl_wavelet_denoise_handler.cpp170 const char *build_options = in create_cl_wavelet_denoise_image_handler() local
175 …ERROR, wavelet_kernel->build_kernel (kernel_wavelet_denoise_info, build_options) == XCAM_RETURN_NO… in create_cl_wavelet_denoise_image_handler()
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddumped_computation_to_operation_list.cc88 ExecutableBuildOptions build_options; in RealMain() local
89 build_options.set_device_ordinal(0); in RealMain()
90 build_options.set_result_layout(program_shape->result()); in RealMain()
93 build_options); in RealMain()
Ddumped_computation_to_text.cc64 ExecutableBuildOptions build_options; in RealMain() local
65 build_options.set_device_ordinal(0); in RealMain()
66 build_options.set_result_layout(program_shape->result()); in RealMain()
69 build_options); in RealMain()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_test_base.cc169 const ExecutableBuildOptions& build_options, in ExecuteLocallyOrDie() argument
171 return ExecuteLocally(computation, arguments, build_options, run_options) in ExecuteLocallyOrDie()
187 const ExecutableBuildOptions& build_options, in ExecuteLocally() argument
195 local_client_->Compile(computation, argument_layouts, build_options)); in ExecuteLocally()
Dlocal_client_test_base.h104 const ExecutableBuildOptions& build_options,
113 const ExecutableBuildOptions& build_options,
/external/tensorflow/tensorflow/compiler/jit/
Dxla_compilation_cache.cc220 xla::ExecutableBuildOptions build_options; in BuildExecutable() local
221 build_options.set_device_ordinal(client_->default_device_ordinal()); in BuildExecutable()
222 build_options.set_result_layout(result.xla_output_shape); in BuildExecutable()
223 build_options.set_device_allocator(options.device_allocator); in BuildExecutable()
226 client_->Compile(*result.computation, argument_layouts, build_options); in BuildExecutable()
/external/vixl/tools/
Dtest.py352 def BuildAll(build_options, jobs): argument
354 scons_command += list(build_options)
487 for build_options in test_build_combinations:
491 ' '.join(filter(None, build_options)) + ', ' +
498 build_rc = BuildAll(build_options, args.jobs)
525 rc |= RunBenchmarks(build_options, args)
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.h55 const ExecutableBuildOptions& build_options() const { return build_options_; } in build_options() function
66 ExecutableBuildOptions build_options);
Dlocal_client.cc45 ExecutableBuildOptions build_options) in LocalExecutable() argument
48 build_options_(std::move(build_options)) { in LocalExecutable()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function.cc114 const xla::ExecutableBuildOptions& build_options) { in Compile() argument
147 client->Compile(computation, arg_shapes, build_options)); in Compile()
Dxla_jit_compiled_cpu_function.h47 const xla::ExecutableBuildOptions& build_options);
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_computation_builder.cc259 const ExecutableBuildOptions* build_options) { in Compile() argument
268 if (build_options != nullptr) { in Compile()
269 options = *build_options; in Compile()
Dlocal_computation_builder.i818 (ExecutableBuildOptions build_options) {
831 build_options.set_generate_hlo_graph(PyString_AsString(o));
846 build_options.set_result_layout(statusor.ValueOrDie());
850 $1 = &build_options;
Dlocal_computation_builder.h108 const ExecutableBuildOptions* build_options);