/external/tensorflow/tensorflow/core/kernels/ |
cast_op_test.cc | 26 using Eigen::half; 89 TEST_CAST(in, half); \ 106 TEST_ALL_CASTS_FROM(half) 188 (sizeof(float) + sizeof(Eigen::half))); 190 test::Benchmark("cpu", Cast<float, Eigen::half>(num)).Run(iters); 197 (sizeof(float) + sizeof(Eigen::half))); 199 test::Benchmark("cpu", Cast<Eigen::half, float>(num)).Run(iters); 206 (sizeof(float) + sizeof(Eigen::half))); 209 test::Benchmark("gpu", Cast<float, Eigen::half>(num)).Run(iters); 217 (sizeof(float) + sizeof(Eigen::half))); [all...] |
cwise_op_equal_to_1.cc | 19 REGISTER7(BinaryOp, CPU, "Equal", functor::equal_to, float, Eigen::half, double, 28 REGISTER4(BinaryOp, GPU, "Equal", functor::equal_to, float, Eigen::half, double,
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
k_sinl.c | 24 half = 0.5; variable 58 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestFma.rs | 49 half __attribute__((kernel)) testFmaHalfHalfHalfHalf(half inMultiplicand1, unsigned int x) { 50 half inMultiplicand2 = rsGetElementAt_half(gAllocInMultiplicand2, x); 51 half inOffset = rsGetElementAt_half(gAllocInOffset, x);
|
TestMad.rs | 49 half __attribute__((kernel)) testMadHalfHalfHalfHalf(half inMultiplicand1, unsigned int x) { 50 half inMultiplicand2 = rsGetElementAt_half(gAllocInMultiplicand2, x); 51 half inOffset = rsGetElementAt_half(gAllocInOffset, x);
|
TestNativeSincos.rs | 52 half __attribute__((kernel)) testNativeSincosHalfHalfHalf(half inV, unsigned int x) { 53 half outCos = 0; 54 half out = native_sincos(inV, &outCos);
|
TestSincos.rs | 52 half __attribute__((kernel)) testSincosHalfHalfHalf(half inV, unsigned int x) { 53 half outCos = 0; 54 half out = sincos(inV, &outCos);
|
TestPown.rs | 44 half __attribute__((kernel)) testPownHalfIntHalf(half inBase, unsigned int x) {
|
/external/bcc/src/cc/export/ |
helpers.h | 446 unsigned long long off) asm("llvm.bpf.load.half"); 519 void bpf_store_half(void *skb, u64 off, u64 val) asm("llvm.bpf.store.half");
|
/external/clang/test/SemaCXX/ |
warn-float-conversion.cpp | 71 const float half = .5; local 72 int a1 = half; // expected-warning{{implicit conversion from 'const float' to 'int' changes non-zero value from 0.5 to 0}}
|
/external/skia/src/gpu/effects/ |
GrAlphaThresholdFragmentProcessor.fp | 9 in uniform half innerThreshold; 10 in uniform half outerThreshold; 51 half scale = outerThreshold / color.a; 56 half scale = innerThreshold / max(0.001, color.a);
|
/external/skqp/src/gpu/effects/ |
GrAlphaThresholdFragmentProcessor.fp | 9 in uniform half innerThreshold; 10 in uniform half outerThreshold; 51 half scale = outerThreshold / color.a; 56 half scale = innerThreshold / max(0.001, color.a);
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Hexagon/ |
data-directives-valid.s | 9 .half 0xbead
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
buffer_comparator.cc | 82 se::DeviceMemory<Eigen::half> ref_buffer, Compiler* compiler, 111 se::DeviceMemory<Eigen::half> buffer( 125 se::DeviceMemory<Eigen::half> test_buffer) { 158 se::DeviceMemory<Eigen::half> test_buffer) { 166 std::vector<half> host_ref_buffer(n), host_test_buffer(n);
|
/external/tensorflow/tensorflow/core/util/ |
cuda_device_functions.h | 435 // Overload of above function for half. Note that we don't have 448 __device__ Eigen::half CudaAtomicCasHelper(Eigen::half* ptr, F accumulate) { 456 // The half is in the second part of the uint32 (upper 16 bits). 460 Eigen::half acc = accumulate(half_impl::raw_uint16_to_half(high)); 465 // The half is in the first part of the uint32 (lower 16 bits). 469 Eigen::half acc = accumulate(half_impl::raw_uint16_to_half(low)); 490 __device__ inline Eigen::half CudaAtomicAdd(Eigen::half* ptr, 491 Eigen::half value) [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
ByteArrayAnnotatedOutput.java | 211 int half = (int) value; local 212 data[writeAt] = (byte) half; 213 data[writeAt + 1] = (byte) (half >> 8); 214 data[writeAt + 2] = (byte) (half >> 16); 215 data[writeAt + 3] = (byte) (half >> 24); 217 half = (int) (value >> 32); 218 data[writeAt + 4] = (byte) half; 219 data[writeAt + 5] = (byte) (half >> 8); 220 data[writeAt + 6] = (byte) (half >> 16); 221 data[writeAt + 7] = (byte) (half >> 24) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArrayAnnotatedOutput.java | 230 int half = (int) value; local 231 data[writeAt] = (byte) half; 232 data[writeAt + 1] = (byte) (half >> 8); 233 data[writeAt + 2] = (byte) (half >> 16); 234 data[writeAt + 3] = (byte) (half >> 24); 236 half = (int) (value >> 32); 237 data[writeAt + 4] = (byte) half; 238 data[writeAt + 5] = (byte) (half >> 8); 239 data[writeAt + 6] = (byte) (half >> 16); 240 data[writeAt + 7] = (byte) (half >> 24) [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
array2d_test.cc | 67 Array2D<Eigen::half> arr = {{1.0f, 2.0f, 3.0f}, {4.0f, 5.0f, 6.0f}}; 72 EXPECT_EQ(arr(0, 0), static_cast<Eigen::half>(1)); 73 EXPECT_EQ(arr(0, 1), static_cast<Eigen::half>(2)); 74 EXPECT_EQ(arr(0, 2), static_cast<Eigen::half>(3)); 75 EXPECT_EQ(arr(1, 0), static_cast<Eigen::half>(4)); 76 EXPECT_EQ(arr(1, 1), static_cast<Eigen::half>(5)); 77 EXPECT_EQ(arr(1, 2), static_cast<Eigen::half>(6));
|
/external/tensorflow/tensorflow/stream_executor/ |
dnn.h | 42 struct half; 110 struct ToDataType<Eigen::half> { [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
CalculateLimits.java | 76 BigDecimal half = new BigDecimal(units == 1? 0: units / 2 - 1); local 78 min = minTrunc.subtract(minResidue.min(half)); 79 max = maxTrunc.add(maxResidue.min(half));
|
/external/skia/tools/timer/ |
SkAnimTimer.h | 135 double half = period / 2.0; local 136 double diff = ::fabs(value - half); 137 return SkDoubleToScalar(ends + (1.0 - diff / half) * (mid - ends));
|
/external/skqp/tools/timer/ |
SkAnimTimer.h | 135 double half = period / 2.0; local 136 double diff = ::fabs(value - half); 137 return SkDoubleToScalar(ends + (1.0 - diff / half) * (mid - ends));
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/error/ |
Mark.java | 50 float half = max_length / 2 - 1; local 55 if (pointer - start > half) { 65 if (end - pointer > half) {
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
runtime_conv2d.cc | 46 const void* run_options_ptr, Eigen::half* out, Eigen::half* lhs, 47 Eigen::half* rhs, int64 input_batch, int64 input_rows, int64 input_cols,
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorReductionCuda.h | 84 __device__ inline void atomicReduce(half2* output, half2 accum, R<half>& reducer) { 195 half last = input.m_impl.coeff(num_coeffs-1); 204 __global__ void ReductionInitKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, half* output) { 220 half* output, half2* scratch) { 228 half last = input.m_impl.coeff(num_coeffs-1); 257 half tmp = __low2half(*scratch); 264 __global__ void ReductionCleanupKernelHalfFloat(Op& reducer, half* output, half2* scratch) { 266 half tmp = __low2half(*scratch); 276 assert(false && "Should only be called on doubles, floats and half floats"); 307 struct FullReductionLauncher<Self, Op, Eigen::half, false> [all...] |