Home
last modified time | relevance | path

Searched refs:GCD (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/lib/math/
Dmath_util_test.cc209 TEST(MathUtil, GCD) { in TEST() argument
221 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint32>(tc.x, tc.y)); in TEST()
222 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint32>(tc.y, tc.x)); in TEST()
223 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint64>(tc.x, tc.y)); in TEST()
224 EXPECT_EQ(tc.gcd, MathUtil::GCD<uint64>(tc.y, tc.x)); in TEST()
229 MathUtil::GCD<uint64>(biggish_prime * 3, biggish_prime * 4)); in TEST()
Dmath_util.h66 static IntegralType GCD(IntegralType x, IntegralType y);
136 IntegralType MathUtil::GCD(IntegralType a, IntegralType b) { in GCD() function
/external/tensorflow/tensorflow/core/lib/core/
Darena.cc119 return (a / MathUtil::GCD<uint32>(a, b)) * b; in LeastCommonMultiple()
121 return (b / MathUtil::GCD<uint32>(b, a)) * a; in LeastCommonMultiple()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_tests.txt11162 # GCD tests.
11164 # These test vectors satisfy gcd(A, B) = GCD and lcm(A, B) = LCM.
11166 GCD = 0
11172 GCD = 1
11177 GCD = a
11182 GCD = 16
11187 GCD = 1
11192 GCD = 1
11197 GCD = 1
11202 GCD = 1
[all …]
Dcheck_bn_tests.go278 g = new(big.Int).GCD(nil, nil, a, b)
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm81 // Used by the GCD tests to avoid a race between the worker thread reporting a
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc52 int GCD(int a, int b) { in GCD() function
415 int gcd = GCD(inst->simulcastStream[idx].width, in InitEncode()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_resize_ops.cc104 int64 gcd = MathUtil::GCD(static_cast<uint64>(in_size_factor), in ComputeResizeConvolutionParameters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5526 uint64_t GCD = 0; in ReduceSwitchRange() local
5528 GCD = GreatestCommonDivisor64(GCD, (uint64_t)V); in ReduceSwitchRange()
5538 if (GCD <= 1 || !isPowerOf2_64(GCD)) in ReduceSwitchRange()
5542 unsigned Shift = Log2_64(GCD); in ReduceSwitchRange()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc1689 unsigned element_alignment = tensorflow::MathUtil::GCD<unsigned>( in EmitVectorizedReduce()
2485 unsigned element_alignment = tensorflow::MathUtil::GCD<unsigned>( in EmitTransferElements()
/external/llvm/test/Analysis/DependenceAnalysis/
DGCD.ll4 ; ModuleID = 'GCD.bc'
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp2080 TEST(APIntTest, GCD) { in TEST() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp6259 unsigned GCD = std::min(MulZeros, TZ); in createSCEV() local
6260 APInt DivAmt = APInt::getOneBitSet(BitWidth, TZ - GCD); in createSCEV()
6262 MulOps.push_back(getConstant(OpC->getAPInt().lshr(GCD))); in createSCEV()
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart3.csv15731 ,"US","GCD","Glen Allen","Glen Allen","MD","--3-----","RQ","9307",,,
D2013-1_UNLOCODE_CodeListPart1.csv36272 ,"FR","GCD","Guiscard","Guiscard","60","--3-----","RL","0201",,"4939N 00303E",