Home
last modified time | relevance | path

Searched refs:kernel_ (Results 1 – 18 of 18) sorted by relevance

/external/libchrome/base/synchronization/
Dwaitable_event_posix.cc47 : kernel_(new WaitableEventKernel(reset_policy, initial_state)) {} in WaitableEvent()
52 base::AutoLock locked(kernel_->lock_); in Reset()
53 kernel_->signaled_ = false; in Reset()
57 base::AutoLock locked(kernel_->lock_); in Signal()
59 if (kernel_->signaled_) in Signal()
62 if (kernel_->manual_reset_) { in Signal()
64 kernel_->signaled_ = true; in Signal()
69 kernel_->signaled_ = true; in Signal()
74 base::AutoLock locked(kernel_->lock_); in IsSignaled()
76 const bool result = kernel_->signaled_; in IsSignaled()
[all …]
Dwaitable_event_watcher_posix.cc143 WaitableEvent::WaitableEventKernel* kernel = event->kernel_.get(); in StartWatching()
157 kernel_ = kernel; in StartWatching()
178 if (!kernel_.get()) { in StopWatching()
192 AutoLock locked(kernel_->lock_); in StopWatching()
208 if (kernel_->Dequeue(waiter_, cancel_flag_.get())) { in StopWatching()
Dwaitable_event_watcher.h148 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
Dwaitable_event.h276 scoped_refptr<WaitableEventKernel> kernel_; variable
/external/tensorflow/tensorflow/compiler/jit/
Dcreate_xla_launch_op_test.cc85 std::unique_ptr<OpKernel> kernel_; member in tensorflow::CreateXlaLaunchOpTest
102 )pb"), &kernel_); in TEST_F()
105 EXPECT_EQ("XTimesY", kernel_->name()); in TEST_F()
106 EXPECT_EQ("XTimesY", kernel_->type_string()); in TEST_F()
108 EXPECT_EQ(2, kernel_->num_inputs()); in TEST_F()
109 EXPECT_EQ(DT_FLOAT, kernel_->input_type(0)); in TEST_F()
110 EXPECT_EQ(DT_RESOURCE, kernel_->input_type(1)); in TEST_F()
111 EXPECT_EQ(DEVICE_MEMORY, kernel_->input_memory_types()[0]); in TEST_F()
112 EXPECT_EQ(HOST_MEMORY, kernel_->input_memory_types()[1]); in TEST_F()
114 EXPECT_EQ(1, kernel_->num_outputs()); in TEST_F()
[all …]
/external/mesa3d/include/CL/
Dcl.hpp3128 Kernel kernel_; member in cl::KernelFunctor
3144 kernel_(kernel), in KernelFunctor()
3378 kernel_ = rhs.kernel_; in operator =()
3388 kernel_(rhs.kernel_), in KernelFunctor()
3401 kernel_, in operator ()()
3418 kernel_.setArg(0,a1); in operator ()()
3421 kernel_, in operator ()()
3439 kernel_.setArg(0,a1); in operator ()()
3440 kernel_.setArg(1,a2); in operator ()()
3443 kernel_, in operator ()()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc76 kernel_.reset(k); in Init()
211 gtl::InlinedVector<AllocatorAttributes, 4> in_attrs(kernel_->num_inputs()); in Run()
213 in_attrs[i].set_on_host(kernel_->input_memory_types()[i] == in Run()
216 std::vector<AllocatorAttributes> out_attrs(kernel_->num_outputs()); in Run()
218 out_attrs[i].set_on_host(kernel_->output_memory_types()[i] == in Run()
235 params.op_kernel = kernel_.get(); in Run()
272 if (kernel_->def().op() == "_Recv") { in Run()
276 AsyncOpKernel* async = kernel_->AsAsync(); in Run()
281 const string& op_name = kernel_->name(); in Run()
285 tracing::ScopedAnnotation activity(op_name, kernel_->type_string()); in Run()
[all …]
Dexecute_node.h43 kernel_(kernel), in ExecuteNode()
67 ctx_, inputs_, kernel_, maybe_stats_.get(), maybe_step_stats_, in Run()
75 kernel_->kernel()->def().DebugString())); in Run()
82 tensorflow::KernelAndDevice* kernel_; variable
Dkernel_and_device.h156 const OpKernel* kernel() const override { return kernel_.get(); } in kernel()
164 return kernel_->output_types(); in output_dtypes()
166 int num_inputs() const override { return kernel_->num_inputs(); } in num_inputs()
167 int num_outputs() const override { return kernel_->num_outputs(); } in num_outputs()
170 std::unique_ptr<OpKernel> kernel_;
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.h104 kernel_ = CreateOpKernel(device_type_, device_.get(), allocator(), in InitOpWithGraphVersion()
106 if (kernel_ != nullptr) input_types_ = kernel_->input_types(); in InitOpWithGraphVersion()
171 params_.get()->op_kernel = kernel_.get(); in RunOpKernel()
181 device_->Compute(kernel_.get(), context_.get()); in RunOpKernel()
205 const DataTypeVector& output_types() const { return kernel_->output_types(); } in output_types()
229 std::unique_ptr<OpKernel> kernel_; variable
Dfunctional_ops.cc168 : kernel_(kernel), in State()
192 s = SetOutputs(kernel_, ctx_, rets_); in Start()
202 IfOp* const kernel_; member in tensorflow::__anon696c82e80111::IfOp::State
258 : kernel_(kernel), in State()
285 s = SetOutputs(kernel_, ctx_, rets_); in Start()
295 CaseOp* const kernel_; member in tensorflow::__anon696c82e80111::CaseOp::State
359 : kernel_(kernel), in State()
376 WhileOp* const kernel_; member in tensorflow::__anon696c82e80111::WhileOp::State
469 s = SetOutputs(kernel_, ctx_, args_); in Finish()
520 : kernel_(kernel), in State()
[all …]
Dscale_and_translate_op_test.cc50 explicit TypedDynamicKernel(const KernelType& kernel) : kernel_(kernel) {} in TypedDynamicKernel()
51 float Value(const float x) const override { return kernel_(x); } in Value()
52 float Radius() const override { return kernel_.Radius(); } in Radius()
53 const KernelType kernel_; member in tensorflow::TypedDynamicKernel
/external/gemmlowp/internal/
Dcompute.h34 const KernelBase& kernel_; variable
45 : kernel_(_kernel), in ComputeImpl()
85 kernel_.Run(packed_result_block.data(), packed_result_block.rows_stride(), in ComputeRun()
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op.cc170 : compute_opts_(compute_opts), kernel_(kernel), iter_(iter) {} in MapFunctionCallFrame()
177 return static_cast<size_t>(kernel_->num_outputs()); in num_retvals()
207 if (index < 0 || index >= kernel_->num_outputs()) { in SetRetval()
212 if (val.dtype() != kernel_->output_type(index)) { in SetRetval()
246 const OpKernel* kernel_; member in tensorflow::data::__anonf5d3769a0111::MapDefunOp::MapFunctionCallFrame
/external/ImageMagick/Magick++/lib/Magick++/
DImage.h796 void convolve(const size_t order_,const double *kernel_);
1096 void morphology(const MorphologyMethod method_,const std::string kernel_,
1099 const KernelInfoType kernel_,const std::string arguments_,
1102 const MorphologyMethod method_,const std::string kernel_,
1105 const MorphologyMethod method_,const KernelInfoType kernel_,
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc125 s.WithOpName("f"), {kernel_, kernel_, depth_in_, depth_out_}, DT_FLOAT); in CreateGrapplerItemWithConv2Ds()
148 {kernel_, kernel_, depth_in_, depth_out_}, DT_FLOAT); in CreateGrapplerItemWithConv2DAndVariable()
1721 const int kernel_ = 3; member in tensorflow::grappler::VirtualSchedulerTest
/external/ImageMagick/Magick++/lib/
DImage.cpp2612 void Magick::Image::convolve(const size_t order_,const double *kernel_) in convolve() argument
2631 kernel_info->values[i]=kernel_[i]; in convolve()
3621 const std::string kernel_,const ssize_t iterations_) in morphology() argument
3630 kernel=AcquireKernelInfo(kernel_.c_str(),exceptionInfo); in morphology()
3641 const KernelInfoType kernel_,const std::string arguments_, in morphology() argument
3650 option=CommandOptionToMnemonic(MagickKernelOptions,kernel_); in morphology()
3665 const MorphologyMethod method_,const std::string kernel_, in morphologyChannel() argument
3676 kernel=AcquireKernelInfo(kernel_.c_str(),exceptionInfo); in morphologyChannel()
3693 const MorphologyMethod method_,const KernelInfoType kernel_, in morphologyChannel() argument
3702 option=CommandOptionToMnemonic(MagickKernelOptions,kernel_); in morphologyChannel()
/external/strace/
DChangeLog20829 Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t.
20835 $ git grep -El 'kernel_(scno|ureg)_t' |
20836 xargs sed -ri 's/kernel_(scno|ureg)_t/kernel_ulong_t/g'