Home
last modified time | relevance | path

Searched refs:DEVICE (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_ops.h64 #define REGISTER_XLA_LAUNCH_KERNEL(DEVICE, KERNEL, TYPES) \ argument
66 .Device(DEVICE) \
71 #define REGISTER_XLA_COMPILE_KERNEL(DEVICE, KERNEL, TYPES) \ argument
73 .Device(DEVICE) \
80 #define REGISTER_XLA_RUN_KERNEL(DEVICE, KERNEL, TYPES) \ argument
81 REGISTER_KERNEL_BUILDER(Name("_XlaRun").Device(DEVICE), KERNEL);
83 #define REGISTER_XLA_DEVICE_KERNELS(DEVICE, TYPES) \ argument
84 REGISTER_KERNEL_BUILDER(Name("_Send").Device(DEVICE), SendOp); \
85 REGISTER_KERNEL_BUILDER(Name("_Recv").Device(DEVICE), RecvOp); \
87 Name("_HostSend").Device(DEVICE).HostMemory("tensor"), SendOp); \
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcwise_ops_test.cc45 #define BM_UNARY(DEVICE, FUNC, T, TYPE) \ argument
46 void BM_##DEVICE##_##FUNC##_##TYPE(int iters, int num) { \
51 test::Benchmark(#DEVICE, Unary<T>(#FUNC, num, TYPE)).Run(iters); \
53 BENCHMARK(BM_##DEVICE##_##FUNC##_##TYPE)->Range(4 << 10, 1 << 20);
101 #define BM_BINARY_SCALAR(DEVICE, FUNC) \ argument
102 void BM_##DEVICE##_##FUNC##_scalar(int iters, int num) { \
107 test::Benchmark(#DEVICE, BinaryScalar(num, #FUNC)).Run(iters); \
109 BENCHMARK(BM_##DEVICE##_##FUNC##_scalar) \
155 #define BM_BIAS_ADD(DEVICE, C_TYPE, TF_TYPE, R, C) \ argument
156 void BM_##DEVICE##_##C_TYPE##_BiasAdd_R##R##_C##C(int iters, int arg) { \
[all …]
Dparameterized_truncated_normal_op_test.cc110 #define BM_PTruncatedNormalDev(DEVICE, B, S) \ argument
111 static void BM_PTruncatedNormal_##DEVICE##_##B##_##S(int iters) { \
112 test::Benchmark(#DEVICE, PTruncatedNormal(B, S)).Run(iters); \
115 BENCHMARK(BM_PTruncatedNormal_##DEVICE##_##B##_##S);
117 #define BM_PTruncatedNormalDev_2SD(DEVICE, B, S) \ argument
118 static void BM_PTruncatedNormal_2SD_##DEVICE##_##B##_##S(int iters) { \
119 test::Benchmark(#DEVICE, PTruncatedNormal2SD(B, S)).Run(iters); \
122 BENCHMARK(BM_PTruncatedNormal_2SD_##DEVICE##_##B##_##S);
124 #define BM_PTruncatedNormalDev_OneTail(DEVICE, B, S) \ argument
125 static void BM_PTruncatedNormal_OneTail_##DEVICE##_##B##_##S(int iters) { \
[all …]
Dstateless_random_ops.cc153 #define REGISTER(DEVICE, TYPE) \ argument
156 .Device(DEVICE_##DEVICE) \
160 StatelessRandomOp<DEVICE##Device, random::UniformDistribution< \
164 .Device(DEVICE_##DEVICE) \
168 StatelessRandomOp<DEVICE##Device, random::NormalDistribution< \
172 .Device(DEVICE_##DEVICE) \
177 DEVICE##Device, \
181 #define REGISTER_INT(DEVICE, TYPE) \ argument
183 .Device(DEVICE_##DEVICE) \
189 StatelessRandomUniformIntOp<DEVICE##Device, TYPE>);
Dxent_op_test.cc36 #define BM_XentDev(BATCH, CLASS, DEVICE) \ argument
37 static void BM_Xent##_##BATCH##_##CLASS##_##DEVICE(int iters) { \
39 test::Benchmark(#DEVICE, Xent(BATCH, CLASS)).Run(iters); \
41 BENCHMARK(BM_Xent##_##BATCH##_##CLASS##_##DEVICE);
Dadjust_contrast_op_benchmark_test.cc39 #define BM_AdjustContrastDev(DEVICE, B, W, H) \ argument
40 static void BM_AdjustContrast_##DEVICE##_##B##_##W##_##H(int iters) { \
42 test::Benchmark(#DEVICE, BM_AdjustContrast(B, W, H)).Run(iters); \
44 BENCHMARK(BM_AdjustContrast_##DEVICE##_##B##_##W##_##H)
Ddiag_op_test.cc33 #define BM_DiagDev(N, T, TFTYPE, DEVICE) \ argument
34 static void BM_Diag##_##N##_##TFTYPE##_##DEVICE(int iters) { \
37 test::Benchmark(#DEVICE, Diag<T>(N, TFTYPE)).Run(iters); \
39 BENCHMARK(BM_Diag##_##N##_##TFTYPE##_##DEVICE);
Dbias_op_test.cc34 #define BM_BiasAddGradNHWC(N, W, H, C, DEVICE) \ argument
35 static void BM_BiasAddGradNHWC##_##N##_##H##_##W##_##C##_##DEVICE( \
39 test::Benchmark(#DEVICE, BiasAddGrad(N, H, W, C)).Run(iters); \
41 BENCHMARK(BM_BiasAddGradNHWC##_##N##_##H##_##W##_##C##_##DEVICE);
Dresize_op_benchmark_test.cc44 #define BM_ResizeDev(DEVICE, ALGORITHM, B, W, H) \ argument
45 static void BM_Resize_##ALGORITHM##_##DEVICE##_##B##_##W##_##H(int iters) { \
47 test::Benchmark(#DEVICE, BM_Resize(#ALGORITHM, B, W, H)).Run(iters); \
49 BENCHMARK(BM_Resize_##ALGORITHM##_##DEVICE##_##B##_##W##_##H)
Dmultinomial_op_test.cc43 #define BM_MultinomialDev(DEVICE, B, C, S) \ argument
44 static void BM_Multinomial_##DEVICE##_##B##_##C##_##S(int iters) { \
45 test::Benchmark(#DEVICE, Multinomial(B, C, S)).Run(iters); \
48 BENCHMARK(BM_Multinomial_##DEVICE##_##B##_##C##_##S);
Dsparse_xent_op_test.cc44 #define BM_SparseXentDev(BATCH, CLASS, DEVICE) \ argument
45 static void BM_SparseXent##_##BATCH##_##CLASS##_##DEVICE(int iters) { \
47 test::Benchmark(#DEVICE, SparseXent(BATCH, CLASS)).Run(iters); \
49 BENCHMARK(BM_SparseXent##_##BATCH##_##CLASS##_##DEVICE);
Drandom_poisson_op_test.cc60 #define BM_Poisson(DEVICE, BITS, MAGNITUDE) \ argument
61 static void BM_##DEVICE##_RandomPoisson_lam_##MAGNITUDE##_##BITS( \
68 test::Benchmark(#DEVICE, g).Run(iters); \
70 BENCHMARK(BM_##DEVICE##_RandomPoisson_lam_##MAGNITUDE##_##BITS) \
Dstrided_slice_op_impl.h243 #define INSTANTIATE_DIM1_AND_UP_HANDLERS(DEVICE, T, DIM) \ argument
244 template void HandleStridedSliceCase<DEVICE, T, DIM>( \
250 template void HandleStridedSliceGradCase<DEVICE, T, DIM>( \
257 #define INSTANTIATE_DIM0_AND_UP_HANDLERS(DEVICE, T, DIM) \ argument
258 template class HandleStridedSliceAssignCase<DEVICE, T, DIM>;
262 #define INSTANTIATE(DEVICE, T, DIM) \ argument
263 INSTANTIATE_DIM0_AND_UP_HANDLERS(DEVICE, T, DIM)
265 #define INSTANTIATE(DEVICE, T, DIM) \ argument
266 INSTANTIATE_DIM0_AND_UP_HANDLERS(DEVICE, T, DIM) \
267 INSTANTIATE_DIM1_AND_UP_HANDLERS(DEVICE, T, DIM)
Dcrop_and_resize_op_benchmark_test.cc54 #define BM_CropAndResizeDev(DEVICE, B, W, H, D, CH, CW) \ argument
55 static void BM_CropAndResize_##DEVICE##_##B##_##W##_##H##_##D##_##CH##_##CW( \
58 test::Benchmark(#DEVICE, BM_CropAndResize(B, W, H, D, CH, CW)).Run(iters); \
60 BENCHMARK(BM_CropAndResize_##DEVICE##_##B##_##W##_##H##_##D##_##CH##_##CW);
Dgather_nd_op_test.cc109 #define BM_GATHER_ND(DEVICE, INDEX) \ argument
110 static void BM_##DEVICE##_gather_nd_##INDEX(int iters, int dim) { \
115 test::Benchmark(#DEVICE, GatherNd<INDEX>(dim)).Run(iters); \
117 BENCHMARK(BM_##DEVICE##_gather_nd_##INDEX) \
/external/iproute2/examples/
Dcbqinit.eth15 DEVICE=eth1
13 $TC qdisc add dev $DEVICE root handle 1: cbq \
25 $TC class add dev $DEVICE parent 1:0 classid :1 est 1sec 8sec cbq \
35 $TC class add dev $DEVICE parent 1:1 classid :2 est 1sec 8sec cbq \
43 $TC qdisc add dev $DEVICE parent 1:2 sfq quantum 1514b perturb 15
47 $TC class add dev $DEVICE parent 1:1 classid :3 est 2sec 16sec cbq \
51 $TC qdisc add dev $DEVICE parent 1:3 sfq quantum 1514b perturb 15
55 $TC class add dev $DEVICE parent 1:1 classid :4 est 1sec 8sec cbq \
59 $TC qdisc add dev $DEVICE parent 1:4 sfq quantum 1514b perturb 15
63 $TC class add dev $DEVICE parent 1:1 classid 1:7FFE cbq \
[all …]
Dcbq.init-v0.7.3628 DEVICE=${DEVICE%%,*}
629 [ -z "$DEVICE" ] && cbq_fail_off "missing DEVICE field in $2!"
631 BANDWIDTH=`echo "$DEVFIELDS"| sed -n "/^$DEVICE,/ \
770 tc class add dev $DEVICE parent 1:$PARENT classid 1:$CLASS cbq \
773 cbq_fail_off "failed to add class $CLASS with parent $PARENT on $DEVICE!"
777 tc qdisc add dev $DEVICE parent 1:$CLASS handle $CLASS tbf \
780 tc qdisc add dev $DEVICE parent 1:$CLASS handle $CLASS sfq \
788 tc filter add dev $DEVICE parent 1:0 protocol ip \
802 tc filter add dev $DEVICE parent 1:0 protocol ip \
846 tc filter add dev $DEVICE parent 1:0 protocol ip \
[all …]
/external/python/cpython2/Lib/plat-irix5/
Djpeg.py84 import gl, GL, DEVICE
100 gl.qdevice(DEVICE.REDRAW)
101 gl.qdevice(DEVICE.ESCKEY)
102 gl.qdevice(DEVICE.WINQUIT)
103 gl.qdevice(DEVICE.WINSHUT)
107 if dev in (DEVICE.ESCKEY, DEVICE.WINSHUT, DEVICE.WINQUIT):
109 if dev == DEVICE.REDRAW:
/external/python/cpython2/Lib/plat-irix6/
Djpeg.py84 import gl, GL, DEVICE
100 gl.qdevice(DEVICE.REDRAW)
101 gl.qdevice(DEVICE.ESCKEY)
102 gl.qdevice(DEVICE.WINQUIT)
103 gl.qdevice(DEVICE.WINSHUT)
107 if dev in (DEVICE.ESCKEY, DEVICE.WINSHUT, DEVICE.WINQUIT):
109 if dev == DEVICE.REDRAW:
/external/libmtp/
Dlibmtp.sh.in13 /sbin/resmgr "${ACTION}" "${DEVICE}" desktop usb
18 if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
41 chmod 0000 "${DEVICE}"
42 chown "${DEVICEOWNER}" "${DEVICE}"
43 chmod "${DEVICEPERMS}" "${DEVICE}"
/external/vogar/src/vogar/
DModeId.java25 DEVICE, enumConstant
106 return this == ModeId.DEVICE || this == ModeId.DEVICE_TESTDEX || this == ModeId.APP_PROCESS; in isDevice()
117 return this == HOST || this == DEVICE || this == DEVICE_TESTDEX || this == APP_PROCESS; in supportsVariant()
126 return this == ModeId.DEVICE || this == ModeId.DEVICE_TESTDEX; in supportsChroot()
140 case DEVICE: in defaultVmCommand()
193 case DEVICE: in getJarNames()
/external/ltp/testcases/kernel/fs/mongo/
Drun_mongo16 DEVICE=$1
20 echo "WARNING : All data will be erased on device=$DEVICE "
34 ./mongo.pl reiserfs $DEVICE /testfs reiserfs $NPROC
35 ./mongo.pl ext2 $DEVICE /testfs ext2 $NPROC
Dmongo.pl80 $DEVICE = $ARGV[1];
194 unless ( -b $DEVICE ) {
195 print "mongo.pl: not valid device: ${DEVICE} \n";
216 system("echo y | mkreiserfs $DEVICE") ;
217 system("mount -t reiserfs $DEVICE $TESTDIR") ;
221 system("mke2fs $DEVICE") ;
222 system("mount $DEVICE $TESTDIR") ;
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dion_test.sh37 DEVICE=/dev/ion
38 if [ ! -e $DEVICE ]; then
39 echo $TCID: No $DEVICE device found >&2
/external/autotest/client/site_tests/touch_ScrollDirection/
DREADME6 <DEVICE NAME>_touchpad_Touch ID_scroll-down - Two finger scroll on touchpad in downward direction.
7 <DEVICE NAME>_touchpad_Touch ID_scroll-right - Two finger scroll on touchpad in right direction.
8 <DEVICE NAME>_touchpad_Touch ID_scroll-left - Two finger scroll on touchpad in left direction.
9 <DEVICE NAME>_touchpad_Touch ID_scroll-up - Two finger scroll on touchpad in upward direction.

12345678910