Home
last modified time | relevance | path

Searched refs:options_ (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/external/swiftshader/third_party/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
76 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout()
104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
109 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
119 spvValidatorOptionsSetRelaxLogicalPointer(options_, val); in SetRelaxLogicalPointer()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/include/spirv-tools/
Dlibspirv.hpp73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
76 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout()
104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
110 spvValidatorOptionsSetWorkgroupScalarBlockLayout(options_, val); in SetWorkgroupScalarBlockLayout()
115 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
[all …]
/external/deqp-deps/SPIRV-Tools/include/spirv-tools/
Dlibspirv.hpp73 ValidatorOptions() : options_(spvValidatorOptionsCreate()) {} in ValidatorOptions()
74 ~ValidatorOptions() { spvValidatorOptionsDestroy(options_); } in ~ValidatorOptions()
76 operator spv_validator_options() const { return options_; } in operator spv_validator_options()
80 spvValidatorOptionsSetUniversalLimit(options_, limit_type, limit); in SetUniversalLimit()
84 spvValidatorOptionsSetRelaxStoreStruct(options_, val); in SetRelaxStructStore()
91 spvValidatorOptionsSetRelaxBlockLayout(options_, val); in SetRelaxBlockLayout()
97 spvValidatorOptionsSetUniformBufferStandardLayout(options_, val); in SetUniformBufferStandardLayout()
104 spvValidatorOptionsSetScalarBlockLayout(options_, val); in SetScalarBlockLayout()
110 spvValidatorOptionsSetWorkgroupScalarBlockLayout(options_, val); in SetWorkgroupScalarBlockLayout()
115 spvValidatorOptionsSetSkipBlockLayout(options_, val); in SetSkipBlockLayout()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.cc95 : file_(file), options_(options), scc_analyzer_(options) { in FileGenerator()
99 variables_["tablename"] = UniqueName("TableStruct", file_, options_); in FileGenerator()
101 UniqueName("file_level_metadata", file_, options_); in FileGenerator()
102 variables_["desc_table"] = DescriptorTableName(file_, options_); in FileGenerator()
104 UniqueName("file_level_enum_descriptors", file_, options_); in FileGenerator()
106 UniqueName("file_level_service_descriptors", file_, options_); in FileGenerator()
128 if (HasGenericServices(file_, options_)) { in FileGenerator()
187 format("#define $1$$ dllexport_decl$\n", FileDllExport(file_, options_)); in GenerateHeader()
204 NamespaceOpener ns(Namespace(file_, options_), format); in GenerateHeader()
248 if (!options_.proto_h) { in GenerateProtoHeader()
[all …]
Dcpp_string_field.cc153 EffectiveStringCType(descriptor_, options_); in GenerateAccessorDeclarations()
169 if (!options_.opensource_runtime) { in GenerateAccessorDeclarations()
183 if (options_.opensource_runtime) { in GenerateAccessorDeclarations()
235 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions()
289 if (options_.opensource_runtime) { in GenerateInlineAccessorDefinitions()
337 if (!options_.opensource_runtime) { in GenerateInlineAccessorDefinitions()
581 if (!options_.opensource_runtime && !inlined_ && in GenerateMergeFromCodedStream()
605 descriptor_, options_, true, in GenerateMergeFromCodedStream()
612 return !lite_ && !inlined_ && !options_.opensource_runtime; in MergeFromCodedStreamNeedsArena()
620 descriptor_, options_, false, in GenerateSerializeWithCachedSizes()
[all …]
Dcpp_message.cc612 options_(options), in MessageGenerator()
626 SccInfoSymbol(scc_analyzer_->GetSCC(descriptor_), options_); in MessageGenerator()
628 variables_["superclass"] = SuperClassName(descriptor_, options_); in MessageGenerator()
633 if (IsWeak(field, options_)) { in MessageGenerator()
640 message_layout_helper_->OptimizeLayout(&optimized_order_, options_); in MessageGenerator()
663 table_driven_ = TableDrivenParsingEnabled(descriptor_, options_); in MessageGenerator()
686 new EnumGenerator(descriptor_->enum_type(i), variables_, options_)); in AddGenerators()
691 new ExtensionGenerator(descriptor_->extension(i), options_)); in AddGenerators()
723 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDeclarations()
735 SetCommonFieldVariables(field, &vars, options_); in GenerateFieldAccessorDeclarations()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Darithmetic_optimizer_test_utils.h88 optimizer->options_.combine_add_to_addn = false; in DisableAddToAddNCombining()
93 optimizer->options_.combine_add_to_addn = true; in EnableOnlyAddToAddNCombining()
98 optimizer->options_.fold_conjugate_into_transpose = true; in EnableOnlyFoldConjugateIntoTranspose()
103 optimizer->options_.fold_multiply_into_conv = true; in EnableOnlyFoldMultipleIntoConv()
108 optimizer->options_.fold_transpose_into_matmul = true; in EnableOnlyFoldTransposeIntoMatMul()
113 optimizer->options_.hoist_common_factor_out_of_aggregation = true; in EnableOnlyHoistCommonFactor()
118 optimizer->options_.minimize_broadcasts = true; in EnableOnlyMinimizeBroadcasts()
123 optimizer->options_.remove_identity_transpose = true; in EnableOnlyRemoveIdentityTranspose()
128 optimizer->options_.remove_involution = true; in EnableOnlyRemoveInvolution()
133 optimizer->options_.remove_redundant_bitcast = true; in EnableOnlyRemoveRedundantBitcast()
[all …]
/external/webrtc/video/adaptation/
Doveruse_frame_detector_unittest.cc76 options_.min_process_count = 0; in SetUp()
88 return ((options_.low_encode_usage_threshold_percent + in InitialUsage()
89 options_.high_encode_usage_threshold_percent) / in InitialUsage()
218 (frame_interval * options_.high_encode_usage_threshold_percent) / 100; in OveruseProcessingTimeLimitForFramerate()
225 (frame_interval * options_.low_encode_usage_threshold_percent) / 100; in UnderuseProcessingTimeLimitForFramerate()
229 CpuOveruseOptions options_; member in webrtc::OveruseFrameDetectorTest
241 overuse_detector_->SetOptions(options_); in TEST_F()
243 TriggerOveruse(options_.high_threshold_consecutive_count); in TEST_F()
248 overuse_detector_->SetOptions(options_); in TEST_F()
250 TriggerOveruse(options_.high_threshold_consecutive_count); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dperiodic_function.cc41 options_(options) {
42 thread_.reset(options_.env->StartThread(
43 options_.thread_options, options_.thread_name_prefix, [this]() { in __anona7ebf60b0202()
50 RunLoop(options_.env->NowMicros()); in __anona7ebf60b0202()
69 if (options_.startup_delay_micros > 0) { in RunLoop()
70 const int64 deadline = start + options_.startup_delay_micros; in RunLoop()
71 options_.env->SleepForMicroseconds(deadline - start); in RunLoop()
76 const int64 begin = options_.env->NowMicros(); in RunLoop()
82 std::max(static_cast<int64>(options_.env->NowMicros()), begin); in RunLoop()
93 options_.env->SleepForMicroseconds(deadline - end); in RunLoop()
Dadaptive_shared_batch_scheduler.h200 Env* GetEnv() const { return options_.env; } in GetEnv()
202 const Options options_; variable
284 size_t max_task_size() const override { return options_.max_batch_size; } in max_task_size()
295 const QueueOptions options_; variable
392 : options_(options), in AdaptiveSharedBatchScheduler()
481 options_.full_batch_scheduling_boost_micros * (*it)->size() / in MaybeScheduleNextBatch()
511 static_cast<int>(options_.num_batch_threads - in_flight_batches_ - in MaybeScheduleClosedBatchesLocked()
559 if (batch_count_ == options_.batches_to_average_over) { in CallbackWrapper()
582 static_cast<double>(options_.num_batch_threads)); in CallbackWrapper()
585 static_cast<double>(options_.min_in_flight_batches_limit)); in CallbackWrapper()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_validation_state_test.cpp189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_validation_state_test.cpp189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_validation_state_test.cpp189 options_, spv_validator_limit_max_struct_members, 32000u); in TEST_F()
190 EXPECT_EQ(32000u, options_->universal_limits_.max_struct_members); in TEST_F()
195 options_, spv_validator_limit_max_global_variables, 100u); in TEST_F()
196 EXPECT_EQ(100u, options_->universal_limits_.max_global_variables); in TEST_F()
201 options_, spv_validator_limit_max_local_variables, 100u); in TEST_F()
202 EXPECT_EQ(100u, options_->universal_limits_.max_local_variables); in TEST_F()
207 options_, spv_validator_limit_max_struct_depth, 100u); in TEST_F()
208 EXPECT_EQ(100u, options_->universal_limits_.max_struct_depth); in TEST_F()
213 options_, spv_validator_limit_max_switch_branches, 100u); in TEST_F()
214 EXPECT_EQ(100u, options_->universal_limits_.max_switch_branches); in TEST_F()
[all …]
/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc74 : options_(options), unilib_(*unilib) { in TokenFeatureExtractor()
97 if (options_.unicode_aware_features) { in ExtractCharactergramFeatures()
108 if (options_.extract_case_feature) { in ExtractDenseFeatures()
109 if (options_.unicode_aware_features) { in ExtractDenseFeatures()
126 if (options_.extract_selection_mask_feature) { in ExtractDenseFeatures()
130 if (options_.unicode_aware_features) { in ExtractDenseFeatures()
161 if (options_.allowed_chargrams.empty()) { in HashToken()
162 return tc3farmhash::Fingerprint64(token) % options_.num_buckets; in HashToken()
172 } else if (options_.allowed_chargrams.find(token_string) == in HashToken()
173 options_.allowed_chargrams.end()) { in HashToken()
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dcluster.cc29 options_.config.set_allow_soft_placement(soft_placement_state); in AllowSoftPlacement()
33 for (int i = 0; i < options_.config.session_inter_op_thread_pool_size(); in SetNumInterOpThreads()
35 options_.config.mutable_session_inter_op_thread_pool(i)->set_num_threads( in SetNumInterOpThreads()
41 options_.config.mutable_graph_options()->set_build_cost_model_after( in SetNumWarmupSteps()
47 options_.config.mutable_experimental()->set_executor_type(*executor_type); in SetExecutorType()
51 return options_.config.graph_options().build_cost_model_after(); in NumWarmupSteps()
56 options_.config.mutable_graph_options()->set_build_cost_model(0); in DisableDetailedStats()
59 options_.config.mutable_graph_options()->set_build_cost_model(1); in DisableDetailedStats()
65 return options_.config.graph_options().build_cost_model() != 0; in DetailedStatsEnabled()
70 options_.config.mutable_graph_options()->mutable_optimizer_options(); in DisableOptimizer()
[all …]
/external/tensorflow/tensorflow/lite/delegates/utils/dummy_delegate/
Ddummy_delegate.cc28 : options_(options) {} in DummyDelegateKernel()
32 return !options_.error_during_init ? kTfLiteOk : kTfLiteError; in Init()
36 return !options_.error_during_prepare ? kTfLiteOk : kTfLiteError; in Prepare()
40 return !options_.error_during_invoke ? kTfLiteOk : kTfLiteError; in Eval()
44 const DummyDelegateOptions options_; member in tflite::dummy_test::DummyDelegateKernel
52 : options_(options) {} in DummyDelegate()
56 return options_.allowed_builtin_code == registration->builtin_code; in IsNodeSupportedByDelegate()
68 return std::make_unique<DummyDelegateKernel>(options_); in CreateDelegateKernelInterface()
77 const DummyDelegateOptions options_; member in tflite::dummy_test::DummyDelegate
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin.h38 absl::make_unique<tflite::StatefulNnApiDelegate>(options_); in Create()
59 options_.accelerator_name = accelerator_.c_str(); in NnapiPlugin()
64 options_.cache_dir = cache_dir_.c_str(); in NnapiPlugin()
69 options_.model_token = model_token_.c_str(); in NnapiPlugin()
71 options_.execution_preference = in NnapiPlugin()
73 options_.disallow_nnapi_cpu = in NnapiPlugin()
75 options_.execution_priority = in NnapiPlugin()
77 options_.allow_fp16 = nnapi_settings->allow_fp16_precision_for_fp32(); in NnapiPlugin()
79 const tflite::StatefulNnApiDelegate::Options& Options() { return options_; } in Options()
114 tflite::StatefulNnApiDelegate::Options options_; variable
Dgpu_plugin.cc27 return TfLiteDelegatePtr(TfLiteGpuDelegateV2Create(&options_), in Create()
36 : options_(TfLiteGpuDelegateOptionsV2Default()) { in GpuPlugin()
39 options_.inference_priority1 = in GpuPlugin()
44 options_.experimental_flags |= in GpuPlugin()
48 options_.experimental_flags |= TFLITE_GPU_EXPERIMENTAL_FLAGS_CL_ONLY; in GpuPlugin()
50 options_.experimental_flags |= TFLITE_GPU_EXPERIMENTAL_FLAGS_GL_ONLY; in GpuPlugin()
56 TfLiteGpuDelegateOptionsV2 options_; member in tflite::delegates::GpuPlugin
Dhexagon_plugin.cc32 auto* delegate_ptr = TfLiteHexagonDelegateCreate(&options_); in Create()
52 options_ = TfLiteHexagonDelegateOptions({0}); in HexagonPlugin()
54 options_.debug_level = settings->debug_level(); in HexagonPlugin()
55 options_.powersave_level = settings->powersave_level(); in HexagonPlugin()
56 options_.print_graph_profile = settings->print_graph_profile(); in HexagonPlugin()
57 options_.print_graph_debug = settings->print_graph_debug(); in HexagonPlugin()
66 TfLiteHexagonDelegateOptions options_; member in tflite::delegates::HexagonPlugin
/external/tensorflow/tensorflow/compiler/xla/pjrt/distributed/
Dclient.cc33 options_(options) {} in DistributedRuntimeClient()
42 if (options_.shutdown_on_destruction) { in ~DistributedRuntimeClient()
80 absl::ToInt64Milliseconds(options_.rpc_timeout) / 2); in Connect()
81 request.set_node_id(options_.node_id); in Connect()
85 absl::Time deadline = absl::Now() + options_.init_timeout; in Connect()
92 ctx.set_deadline(absl::ToChronoTime(absl::Now() + options_.rpc_timeout)); in Connect()
111 << options_.init_timeout in Connect()
116 absl::FormatDuration(options_.init_timeout), attempt, in Connect()
126 heartbeat_thread_.reset(options_.env->StartThread( in Connect()
145 ctx.set_deadline(absl::ToChronoTime(absl::Now() + options_.rpc_timeout)); in EnumerateDevices()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Ddevice_tracer.cc72 CuptiTracerOptions options_; member in tensorflow::profiler::GpuTracer
81 options_.cbids_selected = { in DoStart()
131 options_.enable_event_based_activity = !use_cupti_activity_api; in DoStart()
137 options_.activities_selected.push_back( in DoStart()
140 options_.activities_selected.push_back(CUPTI_ACTIVITY_KIND_MEMCPY); in DoStart()
141 options_.activities_selected.push_back(CUPTI_ACTIVITY_KIND_MEMCPY2); in DoStart()
142 options_.activities_selected.push_back(CUPTI_ACTIVITY_KIND_OVERHEAD); in DoStart()
143 options_.activities_selected.push_back(CUPTI_ACTIVITY_KIND_MEMORY); in DoStart()
144 options_.activities_selected.push_back(CUPTI_ACTIVITY_KIND_MEMSET); in DoStart()
148 if (!trace_concurrent_kernels) options_.cupti_finalize = true; in DoStart()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc113 options_(std::move(options)), in TlsChannelSecurityConnector()
130 options_->certificate_distributor(); in TlsChannelSecurityConnector()
132 if (options_->watch_root_cert()) { in TlsChannelSecurityConnector()
133 watched_root_cert_name = options_->root_cert_name(); in TlsChannelSecurityConnector()
136 if (options_->watch_identity_pair()) { in TlsChannelSecurityConnector()
137 watched_identity_cert_name = options_->identity_cert_name(); in TlsChannelSecurityConnector()
150 options_->certificate_distributor(); in ~TlsChannelSecurityConnector()
202 if (options_->server_verification_option() == GRPC_TLS_SERVER_VERIFICATION) { in check_peer()
213 options_->server_authorization_check_config(); in check_peer()
330 bool root_being_watched = security_connector_->options_->watch_root_cert(); in OnCertificatesChanged()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dthd.h95 : state_(other.state_), impl_(other.impl_), options_(other.options_) { in Thread()
98 other.options_ = Options(); in Thread()
113 options_ = other.options_;
116 other.options_ = Options();
126 ~Thread() { GPR_ASSERT(!options_.joinable() || impl_ == nullptr); } in ~Thread()
169 Options options_; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dcompiler.cc97 : node_shader_(*node_shader), gpu_info_(*gpu_info), options_(options) { in CompilerImpl()
98 if (options_.preferred_obj_type == ObjectType::UNKNOWN) { in CompilerImpl()
99 options_.preferred_obj_type = ChooseFastestObjectType(*gpu_info); in CompilerImpl()
101 if (options_.ref_obj_type == ObjectType::UNKNOWN) { in CompilerImpl()
102 options_.ref_obj_type = ChooseFastestRefObjectType(*gpu_info, options); in CompilerImpl()
115 if (options_.dynamic_batch) { in Compile()
125 NodeShader::GenerationContext ctx = {&gpu_info_, options_, in Compile()
141 if (options_.fuse_operations) { in Compile()
150 if (options_.auto_input_fusion) { in Compile()
174 } else if (options_.allow_precision_loss) { in Compile()
[all …]
/external/tensorflow/tensorflow/python/profiler/internal/
Dpython_hooks.cc122 options_ = options; in Start()
124 if (options_.enable_python_traceme || options_.enable_trace_python_function) { in Start()
126 if (options_.enable_trace_python_function) { in Start()
129 if (options_.enable_python_traceme) { in Start()
132 if (options_.end_to_end_mode) { in Start()
158 if (options_.enable_python_traceme || options_.enable_trace_python_function) { in Stop()
160 if (options_.enable_trace_python_function) { in Stop()
163 if (options_.enable_python_traceme) { in Stop()
186 if (options_.include_incomplete_events) { in CollectData()
200 if (space && options_.enable_trace_python_function) { in Finalize()
[all …]

12345678910>>...12