Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 1431) sorted by relevance

12345678910>>...58

/external/llvm/lib/Target/AVR/
DAVR.td235 class Device<string Name, Family Fam, ELFArch Arch,
243 def : Device<"avr1", FamilyAVR1, ELFArchAVR1>;
244 def : Device<"avr2", FamilyAVR2, ELFArchAVR2>;
245 def : Device<"avr25", FamilyAVR25, ELFArchAVR25>;
246 def : Device<"avr3", FamilyAVR3, ELFArchAVR3>;
247 def : Device<"avr31", FamilyAVR31, ELFArchAVR31>;
248 def : Device<"avr35", FamilyAVR35, ELFArchAVR35>;
249 def : Device<"avr4", FamilyAVR4, ELFArchAVR4>;
250 def : Device<"avr5", FamilyAVR5, ELFArchAVR5>;
251 def : Device<"avr51", FamilyAVR51, ELFArchAVR51>;
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dshape_ops.cc25 .Device(DEVICE_CPU)
30 .Device(DEVICE_CPU)
38 .Device(DEVICE_SYCL) \
44 .Device(DEVICE_SYCL) \
55 .Device(DEVICE_SYCL)
62 .Device(DEVICE_SYCL)
73 .Device(DEVICE_GPU) \
79 .Device(DEVICE_GPU) \
94 .Device(DEVICE_GPU)
101 .Device(DEVICE_GPU)
[all …]
Drelu_op.h33 template <typename Device, typename T>
34 class ReluOp : public UnaryElementWiseOp<T, ReluOp<Device, T>> {
36 using UnaryElementWiseOp<T, ReluOp<Device, T>>::UnaryElementWiseOp;
39 functor::Relu<Device, T> functor; in Operate()
40 functor(context->eigen_device<Device>(), input.flat<T>(), in Operate()
61 template <typename Device, typename T>
62 class ReluGradOp : public BinaryElementWiseOp<T, ReluGradOp<Device, T>> {
64 using BinaryElementWiseOp<T, ReluGradOp<Device, T>>::BinaryElementWiseOp;
82 template <typename Device, typename T>
83 void ReluGradOp<Device, T>::OperateNoTemplate(OpKernelContext* context, in OperateNoTemplate()
[all …]
Dcontrol_flow_ops.cc44 .Device(DEVICE_CPU) \
51 .Device(DEVICE_CPU) \
58 .Device(DEVICE_GPU) \
65 .Device(DEVICE_GPU) \
87 .Device(DEVICE_GPU) \
97 .Device(DEVICE_GPU) \
118 .Device(DEVICE_SYCL) \
126 .Device(DEVICE_SYCL) \
137 .Device(DEVICE_SYCL) \
151 .Device(DEVICE_SYCL) \
[all …]
Didentity_op.cc26 REGISTER_KERNEL_BUILDER(Name("Identity").Device(DEVICE_CPU), IdentityOp);
29 REGISTER_KERNEL_BUILDER(Name("StopGradient").Device(DEVICE_CPU), IdentityOp);
32 REGISTER_KERNEL_BUILDER(Name("PreventGradient").Device(DEVICE_CPU), IdentityOp);
36 REGISTER_KERNEL_BUILDER(Name("PlaceholderWithDefault").Device(DEVICE_CPU),
39 REGISTER_KERNEL_BUILDER(Name("RefIdentity").Device(DEVICE_CPU), IdentityOp);
43 REGISTER_KERNEL_BUILDER(Name("DebugGradientIdentity").Device(DEVICE_CPU),
45 REGISTER_KERNEL_BUILDER(Name("DebugGradientRefIdentity").Device(DEVICE_CPU),
51 Name("Identity").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \
54 Name("PreventGradient").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \
57 Name("RefIdentity").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \
[all …]
Daggregate_ops.cc41 template <typename Device, typename T>
88 functor::Add2Functor<Device, T> functor2; in Compute()
89 functor2(ctx->template eigen_device<Device>(), To, I(0), I(1)); in Compute()
96 functor::Add2Functor<Device, T> functor2; in Compute()
97 functor2(ctx->template eigen_device<Device>(), To, I(0), I(1)); in Compute()
101 functor::Add3Functor<Device, T> functor3; in Compute()
102 functor3(ctx->template eigen_device<Device>(), To, I(0), I(1), I(2)); in Compute()
106 functor::Add4Functor<Device, T> functor4; in Compute()
107 functor4(ctx->template eigen_device<Device>(), To, I(0), I(1), I(2), in Compute()
112 functor::Add5Functor<Device, T> functor5; in Compute()
[all …]
Dtranspose_functor.h34 template <typename Device>
35 Status DoTranspose(const Device& device, const Tensor& in,
45 template <typename Device>
46 Status DoConjugateTranspose(const Device& device, const Tensor& in,
51 template <typename Device>
52 Status DoMatrixTranspose(const Device& device, const Tensor& in, Tensor* out);
56 template <typename Device>
57 Status DoConjugateMatrixTranspose(const Device& device, const Tensor& in,
61 template <typename Device, typename T, bool conjugate = false>
63 static void run(const Device& d, const Tensor& in,
[all …]
Drelu_op.cc38 Name("Relu").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
41 Name("ReluGrad").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
44 Name("Relu6").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
47 Name("Relu6Grad").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
55 Name("Elu").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
58 Name("EluGrad").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
61 Name("Selu").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
64 Name("SeluGrad").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
133 Name("Relu").Device(DEVICE_GPU).TypeConstraint<type>("T"), \
136 Name("ReluGrad").Device(DEVICE_GPU).TypeConstraint<type>("T"), \
[all …]
Dtile_functor.h30 template <typename Device, typename T>
31 void TileSimple(const Device& d, Tensor* out, const Tensor& in);
33 template <typename Device, typename T, typename Tmultiples, int NDIM>
34 void TileUsingEigen(const Device& d, Tensor* out, const Tensor& in, in TileUsingEigen()
41 if (Eigen::internal::is_same<Device, Eigen::GpuDevice>::value) { in TileUsingEigen()
49 template <typename Device, typename T, typename Tmultiples>
50 void TileUsingEigen(const Device& d, Tensor* out, const Tensor& in, in TileUsingEigen()
62 template <typename Device, typename T, typename Tmultiples>
64 void operator()(const Device& d, Tensor* out, const Tensor& in, in operator()
68 internal::TileUsingEigen<Device, T, Tmultiples>(d, out, in, in operator()
[all …]
Dconstant_op.cc92 REGISTER_KERNEL_BUILDER(Name("Const").Device(DEVICE_CPU), ConstantOp);
97 Name("Const").Device(DEVICE_##D).TypeConstraint<TYPE>("dtype"), \
119 Name("Const").Device(DEVICE_##D).TypeConstraint<TYPE>("dtype"), \
156 .Device(DEVICE_GPU)
164 .Device(DEVICE_SYCL)
176 template <typename Device, typename T, typename Index>
197 functor::FillFunctor<Device, T> functor; in Compute()
198 functor(context->eigen_device<Device>(), out->flat<T>(), in Compute()
205 .Device(DEVICE_##D) \
209 FillOp<D##Device, TYPE, int32>); \
[all …]
Dtraining_ops.h30 template <typename Device, typename T>
32 void operator()(const Device& d, typename TTypes<T>::Flat var,
37 template <typename Device, typename T>
39 void operator()(const Device& d, typename TTypes<T>::Flat var,
48 template <typename Device, typename T>
50 void operator()(const Device& d, typename TTypes<T>::Flat var,
57 template <typename Device, typename T>
59 void operator()(const Device& d, typename TTypes<T>::Flat var,
66 template <typename Device, typename T>
68 void operator()(const Device& d, typename TTypes<T>::Flat var,
[all …]
Dconv_2d.h31 template <typename Device, typename T, int Dims, typename IndexType>
33 void operator()(const Device& d, in operator()
42 template <typename Device, typename T, int Dims, typename IndexType>
45 const Device& d, typename TTypes<T, Dims, IndexType>::ConstTensor input, in operator()
54 template <typename Device, typename Input, typename Filter, typename Output>
55 void SpatialConvolutionFunc(const Device& d, Output output, Input input, in SpatialConvolutionFunc()
65 template <typename Device, typename T>
67 void operator()(const Device& d, typename TTypes<T, 4>::Tensor output, in operator()
77 template <typename Device>
78 struct SpatialConvolution<Device, Eigen::half> {
[all …]
Dtensor_array_ops.cc230 REGISTER_KERNEL_BUILDER(Name("TensorArray").Device(DEVICE_CPU), TensorArrayOp);
231 REGISTER_KERNEL_BUILDER(Name("TensorArrayV2").Device(DEVICE_CPU),
233 REGISTER_KERNEL_BUILDER(Name("TensorArrayV3").Device(DEVICE_CPU),
240 .Device(DEVICE_GPU) \
246 .Device(DEVICE_GPU) \
252 .Device(DEVICE_GPU) \
358 REGISTER_KERNEL_BUILDER(Name("TensorArrayGrad").Device(DEVICE_CPU),
360 REGISTER_KERNEL_BUILDER(Name("TensorArrayGradV2").Device(DEVICE_CPU),
362 REGISTER_KERNEL_BUILDER(Name("TensorArrayGradV3").Device(DEVICE_CPU),
366 .Device(DEVICE_GPU)
[all …]
Daggregate_ops.h27 template <typename Device, typename T>
29 void operator()(const Device& d, typename TTypes<T>::Flat out,
34 template <typename Device, typename T>
36 static void Compute(const Device& d, typename TTypes<T>::Flat out, in Compute()
43 template <typename Device, typename T>
45 void operator()(const Device& d, typename TTypes<T>::Flat out,
51 template <typename Device, typename T>
53 static void Compute(const Device& d, typename TTypes<T>::Flat out, in Compute()
61 template <typename Device, typename T>
63 void operator()(const Device& d, typename TTypes<T>::Flat out,
[all …]
Ddebug_ops.cc27 REGISTER_KERNEL_BUILDER(Name("Copy").Device(DEVICE_CPU), CopyOp);
29 REGISTER_KERNEL_BUILDER(Name("CopyHost").Device(DEVICE_CPU), CopyOp);
32 REGISTER_KERNEL_BUILDER(Name("Copy").Device(DEVICE_GPU), CopyOp);
35 .Device(DEVICE_GPU)
42 REGISTER_KERNEL_BUILDER(Name("Copy").Device(DEVICE_SYCL), CopyOp);
45 .Device(DEVICE_SYCL)
52 REGISTER_KERNEL_BUILDER(Name("DebugIdentity").Device(DEVICE_CPU),
57 .Device(DEVICE_GPU)
65 .Device(DEVICE_SYCL)
74 Name("DebugNanCount").Device(DEVICE_CPU).TypeConstraint<type>("T"), \
[all …]
Dfake_quant_ops.cc54 template <typename Device>
56 : public UnaryElementWiseOp<float, FakeQuantWithMinMaxArgsOp<Device>> {
58 typedef UnaryElementWiseOp<float, FakeQuantWithMinMaxArgsOp<Device>> Base;
78 FakeQuantWithMinMaxArgsFunctor<Device> functor; in Operate()
79 functor(context->eigen_device<Device>(), input.flat<float>(), min_, max_, in Operate()
92 template <typename Device>
95 FakeQuantWithMinMaxArgsGradientOp<Device>> {
97 typedef BinaryElementWiseOp<float, FakeQuantWithMinMaxArgsGradientOp<Device>>
127 FakeQuantWithMinMaxArgsGradientFunctor<Device> functor; in OperateNoTemplate()
128 functor(context->eigen_device<Device>(), gradient.flat<float>(), in OperateNoTemplate()
[all …]
Dsoftplus_op.cc34 template <typename Device, typename T>
35 class SoftplusOp : public UnaryElementWiseOp<T, SoftplusOp<Device, T>> {
38 : UnaryElementWiseOp<T, SoftplusOp<Device, T>>(context) { in SoftplusOp()
43 functor::Softplus<Device, T> functor; in Operate()
44 functor(context->eigen_device<Device>(), input.flat<T>(), in Operate()
49 template <typename Device, typename T>
51 : public BinaryElementWiseOp<T, SoftplusGradOp<Device, T>> {
54 : BinaryElementWiseOp<T, SoftplusGradOp<Device, T>>(context) { in SoftplusGradOp()
72 template <typename Device, typename T>
73 void SoftplusGradOp<Device, T>::OperateNoTemplate(OpKernelContext* context, in OperateNoTemplate()
[all …]
Dsoftsign_op.cc34 template <typename Device, typename T>
35 class SoftsignOp : public UnaryElementWiseOp<T, SoftsignOp<Device, T>> {
38 : UnaryElementWiseOp<T, SoftsignOp<Device, T>>(context) { in SoftsignOp()
43 functor::Softsign<Device, T> functor; in Operate()
44 functor(context->eigen_device<Device>(), input.flat<T>(), in Operate()
49 template <typename Device, typename T>
51 : public BinaryElementWiseOp<T, SoftsignGradOp<Device, T>> {
54 : BinaryElementWiseOp<T, SoftsignGradOp<Device, T>>(context) { in SoftsignGradOp()
73 template <typename Device, typename T>
74 void SoftsignGradOp<Device, T>::OperateNoTemplate(OpKernelContext* context, in OperateNoTemplate()
[all …]
Dstrided_slice_op.h30 template <typename Device, typename T, int NDIMS>
32 void operator()(const Device& d, typename TTypes<T, NDIMS>::Tensor output, in operator()
39 Eigen::internal::is_same<Device, Eigen::GpuDevice>::value) { in operator()
55 template <typename T, int NDIMS, typename Device>
57 static void run(const Device& d, typename TTypes<T, NDIMS>::Tensor output) { in run()
62 template <int NDIMS, typename Device>
63 struct InitOutput<ResourceHandle, NDIMS, Device> {
64 static void run(const Device& d,
70 template <int NDIMS, typename Device>
71 struct InitOutput<string, NDIMS, Device> {
[all …]
Dstack_ops.cc228 REGISTER_KERNEL_BUILDER(Name("Stack").Device(DEVICE_CPU), StackOp);
229 REGISTER_KERNEL_BUILDER(Name("Stack").Device(DEVICE_GPU).HostMemory("handle"),
231 REGISTER_KERNEL_BUILDER(Name("StackV2").Device(DEVICE_CPU), StackOp);
233 .Device(DEVICE_GPU)
238 REGISTER_KERNEL_BUILDER(Name("Stack").Device(DEVICE_SYCL).HostMemory("handle"),
241 .Device(DEVICE_SYCL)
247 template <typename Device>
277 (std::is_same<Device, GPUDevice>::value in ComputeAsync()
279 || std::is_same<Device, SYCLDevice>::value in ComputeAsync()
284 auto device = static_cast<tensorflow::Device*>(ctx->device()); in ComputeAsync()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorEvaluator.h27 template<typename Derived, typename Device>
33 typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
48 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const Derived& m, const Device& device) in TensorEvaluator()
114 const Device& device() const{return m_device;} in device()
119 const Device& m_device;
147 template<typename Derived, typename Device>
148 struct TensorEvaluator<const Derived, Device>
153 typedef typename PacketType<CoeffReturnType, Device>::type PacketReturnType;
171 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const Derived& m, const Device& device)
213 const Device& device() const{return m_device;}
[all …]
/external/webrtc/talk/media/devices/
Ddevicemanager.h69 virtual bool GetAudioInputDevices(std::vector<Device>* devices) = 0;
70 virtual bool GetAudioOutputDevices(std::vector<Device>* devices) = 0;
72 virtual bool GetAudioInputDevice(const std::string& name, Device* out) = 0;
73 virtual bool GetAudioOutputDevice(const std::string& name, Device* out) = 0;
75 virtual bool GetVideoCaptureDevices(std::vector<Device>* devs) = 0;
76 virtual bool GetVideoCaptureDevice(const std::string& name, Device* out) = 0;
97 virtual VideoCapturer* CreateVideoCapturer(const Device& device) const = 0;
140 virtual bool GetAudioInputDevices(std::vector<Device>* devices);
141 virtual bool GetAudioOutputDevices(std::vector<Device>* devices);
143 virtual bool GetAudioInputDevice(const std::string& name, Device* out);
[all …]
Dfakedevicemanager.h52 std::vector<Device> devices; in GetCapabilities()
65 virtual bool GetAudioInputDevices(std::vector<Device>* devs) { in GetAudioInputDevices()
69 virtual bool GetAudioOutputDevices(std::vector<Device>* devs) { in GetAudioOutputDevices()
73 virtual bool GetAudioInputDevice(const std::string& name, Device* out) { in GetAudioInputDevice()
76 virtual bool GetAudioOutputDevice(const std::string& name, Device* out) { in GetAudioOutputDevice()
79 virtual bool GetVideoCaptureDevices(std::vector<Device>* devs) { in GetVideoCaptureDevices()
105 virtual VideoCapturer* CreateVideoCapturer(const Device& device) const { in CreateVideoCapturer()
151 virtual bool GetDefaultVideoCaptureDevice(Device* device) { in GetDefaultVideoCaptureDevice()
160 bool QtKitToSgDevice(const std::string& qtkit_name, Device* out) { in QtKitToSgDevice()
170 input_devices_.push_back(Device(devices[i], in SetAudioInputDevices()
[all …]
Ddevicemanager.cc94 std::vector<Device> devices; in GetCapabilities()
108 bool DeviceManager::GetAudioInputDevices(std::vector<Device>* devices) { in GetAudioInputDevices()
112 bool DeviceManager::GetAudioOutputDevices(std::vector<Device>* devices) { in GetAudioOutputDevices()
116 bool DeviceManager::GetAudioInputDevice(const std::string& name, Device* out) { in GetAudioInputDevice()
120 bool DeviceManager::GetAudioOutputDevice(const std::string& name, Device* out) { in GetAudioOutputDevice()
124 bool DeviceManager::GetVideoCaptureDevices(std::vector<Device>* devices) { in GetVideoCaptureDevices()
129 Device dev("camera", "1"); // name and ID in GetVideoCaptureDevices()
138 Device* out) { in GetVideoCaptureDevice()
144 std::vector<Device> devices; in GetVideoCaptureDevice()
149 for (std::vector<Device>::const_iterator it = devices.begin(); in GetVideoCaptureDevice()
[all …]
/external/tcpdump/tests/
Dudld-v.out3 Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
8 Device Name TLV (0x0006) TLV, length 6, S1
12 Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
17 Device Name TLV (0x0006) TLV, length 6, S2
21 Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
26 Device Name TLV (0x0006) TLV, length 6, S1
30 Device-ID TLV (0x0001) TLV, length 15, FOC1025X4W3
35 Device Name TLV (0x0006) TLV, length 6, S2
39 Device-ID TLV (0x0001) TLV, length 15, FOC1031Z7JG
44 Device Name TLV (0x0006) TLV, length 6, S1
[all …]

12345678910>>...58