Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dlocal_service.cc98 const ExecutableBuildOptions& build_options, in CreateExecutionOptions() argument
101 if (build_options.has_debug_options()) { in CreateExecutionOptions()
102 *execution_options.mutable_debug_options() = build_options.debug_options(); in CreateExecutionOptions()
104 if (build_options.result_layout() != nullptr) { in CreateExecutionOptions()
106 build_options.result_layout()->ToProto(); in CreateExecutionOptions()
113 execution_options.set_num_replicas(build_options.num_replicas()); in CreateExecutionOptions()
122 const ExecutableBuildOptions& build_options) { in CompileExecutable() argument
159 if (build_options.result_layout() != nullptr) { in CompileExecutable()
160 TF_RETURN_IF_ERROR(ValidateResultShape(*build_options.result_layout(), in CompileExecutable()
165 CreateExecutionOptions(build_options, &program_shape); in CompileExecutable()
[all …]
Dlocal_service.h52 const ExecutableBuildOptions& build_options);
/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/tests/
Dlocal_client_test_base.cc168 const ExecutableBuildOptions& build_options, in ExecuteLocallyOrDie() argument
170 return ExecuteLocally(computation, arguments, build_options, run_options) in ExecuteLocallyOrDie()
184 const ExecutableBuildOptions& build_options, in ExecuteLocally() argument
192 local_client_->Compile(computation, argument_layouts, build_options)); in ExecuteLocally()
196 build_options.device_ordinal() == -1 ? 0 : build_options.device_ordinal(); in ExecuteLocally()
Dlocal_client_test_base.h99 const ExecutableBuildOptions& build_options,
108 const ExecutableBuildOptions& build_options,
Dxla_hlo_profile_test.cc158 ExecutableBuildOptions build_options; in ExecuteAndFetchProfile() local
159 build_options.mutable_debug_options()->set_xla_hlo_profile(true); in ExecuteAndFetchProfile()
163 build_options)); in ExecuteAndFetchProfile()
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddumped_computation_to_operation_list.cc85 ExecutableBuildOptions build_options; in RealMain() local
86 build_options.set_device_ordinal(0); in RealMain()
87 build_options.set_result_layout(program_shape->result()); in RealMain()
89 local_service->CompileExecutable(computation, layouts, build_options); in RealMain()
Ddumped_computation_to_text.cc62 ExecutableBuildOptions build_options; in RealMain() local
63 build_options.set_device_ordinal(0); in RealMain()
64 build_options.set_result_layout(program_shape->result()); in RealMain()
66 local_service->CompileExecutable(computation, layouts, build_options); in RealMain()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_compile_ops.cc122 xla::ExecutableBuildOptions build_options; in Compile() local
123 build_options.set_device_ordinal(client->default_device_ordinal()); in Compile()
124 build_options.set_result_layout(xla::Shape(config.program_shape().result())); in Compile()
125 build_options.set_device_allocator(device_ref.backend()->memory_allocator()); in Compile()
127 *build_options.mutable_debug_options() = in Compile()
133 client->Compile(computation, argument_layout_ptrs, build_options); in Compile()
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_computation_builder.i195 (ExecutableBuildOptions build_options) {
200 build_options.mutable_debug_options()->set_xla_dump_to(std::move(s));
205 build_options.mutable_debug_options()->set_xla_dump_hlo_pass_re(std::move(s));
210 build_options.mutable_debug_options()->set_xla_dump_hlo_module_re(std::move(s));
215 build_options.mutable_debug_options()->set_xla_dump_hlo_as_text(b);
220 build_options.mutable_debug_options()->set_xla_dump_hlo_as_proto(b);
225 build_options.mutable_debug_options()->set_xla_hlo_profile(b);
241 build_options.set_result_layout(statusor.ValueOrDie());
249 build_options.set_num_replicas(num_replicas);
251 $1 = &build_options;
/external/vixl/tools/
Dtest.py348 def BuildAll(build_options, jobs): argument
350 scons_command += list(build_options)
477 for build_options in test_build_combinations:
481 ' '.join(filter(None, build_options)) + ', ' +
488 build_rc = BuildAll(build_options, args.jobs)
515 rc |= RunBenchmarks(build_options, args)
/external/tensorflow/tensorflow/compiler/jit/
Dxla_compilation_cache.cc151 xla::ExecutableBuildOptions build_options; in BuildExecutable() local
152 build_options.set_device_ordinal(options.device_ordinal != -1 in BuildExecutable()
155 build_options.set_result_layout(result.xla_output_shape); in BuildExecutable()
156 build_options.set_device_allocator(options.device_allocator); in BuildExecutable()
159 client_->Compile(*result.computation, argument_layouts, build_options); in BuildExecutable()
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.h47 const ExecutableBuildOptions& build_options() const { return build_options_; } in build_options() function
58 ExecutableBuildOptions build_options);
Dlocal_client.cc46 ExecutableBuildOptions build_options) in LocalExecutable() argument
49 build_options_(std::move(build_options)) { in LocalExecutable()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_jit_compiled_cpu_function.cc81 const xla::ExecutableBuildOptions& build_options) { in Compile() argument
114 client->Compile(computation, arg_shapes, build_options)); in Compile()
Dxla_jit_compiled_cpu_function.h47 const xla::ExecutableBuildOptions& build_options);

12