/external/tensorflow/tensorflow/core/kernels/ |
D | cwise_ops_test.cc | 45 #define BM_UNARY(DEVICE, FUNC, T, TYPE) \ argument 46 void BM_##DEVICE##_##FUNC##_##TYPE(int iters, int num) { \ 50 test::Benchmark(#DEVICE, Unary<T>(#FUNC, num, TYPE)).Run(iters); \ 52 BENCHMARK(BM_##DEVICE##_##FUNC##_##TYPE)->Range(4 << 10, 1 << 20); 100 #define BM_BINARY_SCALAR(DEVICE, FUNC) \ argument 101 void BM_##DEVICE##_##FUNC##_scalar(int iters, int num) { \ 105 test::Benchmark(#DEVICE, BinaryScalar(num, #FUNC)).Run(iters); \ 107 BENCHMARK(BM_##DEVICE##_##FUNC##_scalar) \ 144 #define BM_BIAS_ADD(DEVICE, C_TYPE, TF_TYPE, R, C) \ argument 145 void BM_##DEVICE##_##C_TYPE##_BiasAdd_R##R##_C##C(int iters, int arg) { \ [all …]
|
D | parameterized_truncated_normal_op_test.cc | 110 #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 …]
|
D | adjust_contrast_op_benchmark_test.cc | 39 #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)
|
D | xent_op_test.cc | 36 #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);
|
D | diag_op_test.cc | 33 #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);
|
D | multinomial_op_test.cc | 43 #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);
|
D | resize_op_benchmark_test.cc | 44 #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)
|
D | sparse_xent_op_test.cc | 44 #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);
|
D | random_poisson_op_test.cc | 60 #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) \
|
D | strided_slice_op_impl.h | 244 #define INSTANTIATE_DIM1_AND_UP_HANDLERS(DEVICE, T, DIM) \ argument 245 template void HandleStridedSliceCase<DEVICE, T, DIM>( \ 251 template void HandleStridedSliceGradCase<DEVICE, T, DIM>( \ 258 #define INSTANTIATE_DIM0_AND_UP_HANDLERS(DEVICE, T, DIM) \ argument 259 template class HandleStridedSliceAssignCase<DEVICE, T, DIM>; 263 #define INSTANTIATE(DEVICE, T, DIM) \ argument 264 INSTANTIATE_DIM0_AND_UP_HANDLERS(DEVICE, T, DIM) 266 #define INSTANTIATE(DEVICE, T, DIM) \ argument 267 INSTANTIATE_DIM0_AND_UP_HANDLERS(DEVICE, T, DIM) \ 268 INSTANTIATE_DIM1_AND_UP_HANDLERS(DEVICE, T, DIM)
|
D | gather_nd_op_test.cc | 109 #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) \
|
D | matmul_op_test.cc | 36 #define BM_MatmulDev(M, K, N, TA, TB, T, TFTYPE, DEVICE) \ argument 37 static void BM_Matmul##_##M##_##K##_##N##_##TA##_##TB##_##TFTYPE##_##DEVICE( \ 41 test::Benchmark(#DEVICE, Matmul<T>(M, K, N, TA, TB, TFTYPE)).Run(iters); \ 43 BENCHMARK(BM_Matmul##_##M##_##K##_##N##_##TA##_##TB##_##TFTYPE##_##DEVICE);
|
D | batch_matmul_op_test.cc | 36 #define BM_BatchMatmulDev(B, M, K, N, TA, TB, T, TFTYPE, DEVICE) \ argument 38 BM_BatchMatmul##_##B##_##M##_##K##_##N##_##TA##_##TB##_##TFTYPE##_##DEVICE( \ 42 test::Benchmark(#DEVICE, BatchMatmul<T>(B, M, K, N, TA, TB, TFTYPE)) \ 46 BM_BatchMatmul##_##B##_##M##_##K##_##N##_##TA##_##TB##_##TFTYPE##_##DEVICE);
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_device_ops.h | 43 #define REGISTER_XLA_LAUNCH_KERNEL(DEVICE, KERNEL, TYPES) \ argument 45 .Device(DEVICE) \ 50 #define REGISTER_XLA_DEVICE_KERNELS(DEVICE, TYPES) \ argument 51 REGISTER_KERNEL_BUILDER(Name("_Send").Device(DEVICE), SendOp); \ 52 REGISTER_KERNEL_BUILDER(Name("_Recv").Device(DEVICE), RecvOp); \ 54 Name("_HostSend").Device(DEVICE).HostMemory("tensor"), SendOp); \ 56 Name("_HostRecv").Device(DEVICE).HostMemory("tensor"), RecvOp); \ 58 Name("_HostCast").Device(DEVICE).HostMemory("x").HostMemory("y"), \ 60 REGISTER_KERNEL_BUILDER(Name("NoOp").Device(DEVICE), NoOp); \ 62 Name("Const").Device(DEVICE).TypeConstraint("dtype", TYPES), \ [all …]
|
/external/iproute2/examples/ |
D | cbqinit.eth1 | 5 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 …]
|
D | cbq.init-v0.7.3 | 628 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 …]
|
D | README.cbq | 53 # DEVICE=eth0,10Mbit,1Mbit 61 # DEVICE: eth0 - device where we do control our traffic 65 # 100Mbit adapter's example: DEVICE=eth0,100Mbit,10Mbit 68 # is smart :) You can put only 'DEVICE=eth0' into cbq-* 73 # WEIGHT: "weight" of shaper (CBQ class). Like for DEVICE - approx. RATE/10 106 # DEVICE=eth1,10Mbit,1Mbit 114 # DEVICE=eth0,10Mbit,1Mbit
|
/external/python/cpython2/Lib/plat-irix5/ |
D | jpeg.py | 84 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/ |
D | jpeg.py | 84 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/ |
D | libmtp.sh.in | 13 /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/ltp/testcases/kernel/fs/mongo/ |
D | run_mongo | 16 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
|
D | mongo.pl | 80 $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/vogar/src/vogar/ |
D | ModeId.java | 25 DEVICE, enumConstant 95 return this == ModeId.DEVICE || this == ModeId.APP_PROCESS; in isDevice() 104 || ((this == HOST || this == DEVICE) && (variant == Variant.X64)); in supportsVariant() 118 case DEVICE: in defaultVmCommand() 150 case DEVICE: in getJarNames()
|
/external/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ion_test.sh | 34 DEVICE=/dev/ion 35 if [ ! -e $DEVICE ]; then 36 echo $TCID: No $DEVICE device found >&2
|
/external/autotest/client/site_tests/touch_ScrollDirection/ |
D | README | 6 <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.
|