/third_party/boost/libs/compute/test/ |
D | test_copy_type_mismatch.cpp | 82 using compute::float_; in BOOST_AUTO_TEST_CASE() 84 float_ host[] = { 6.1f, 10.2f, 19.3f, 25.4f }; in BOOST_AUTO_TEST_CASE() 95 using compute::float_; in BOOST_AUTO_TEST_CASE() 97 float_ host[] = { 6.1f, -10.2f, 19.3f, 25.4f }; in BOOST_AUTO_TEST_CASE() 121 using compute::float_; in BOOST_AUTO_TEST_CASE() 123 float_ host[] = { 6.1f, -10.2f, 19.3f, 25.4f }; in BOOST_AUTO_TEST_CASE() 160 using compute::float_; in BOOST_AUTO_TEST_CASE() 178 float_ host[] = { 6.1f, -10.2f, 19.3f, 25.4f }; in BOOST_AUTO_TEST_CASE() 204 using compute::float_; in BOOST_AUTO_TEST_CASE() 222 float_ host[] = { 6.1f, -10.2f, 19.3f, 25.4f }; in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_threefry_engine.cpp | 57 using boost::compute::float_; in BOOST_AUTO_TEST_CASE() 60 boost::compute::uniform_real_distribution<float_> random_distribution(0.f, 4.f); in BOOST_AUTO_TEST_CASE() 62 boost::compute::vector<float_> random_values(1024, context); in BOOST_AUTO_TEST_CASE() 67 std::vector<float_> random_values_host(1024); in BOOST_AUTO_TEST_CASE()
|
D | test_radix_sort_by_key.cpp | 177 compute::float_ keys_data[] = { 10., 5.5, 10., 7., 5.5}; in BOOST_AUTO_TEST_CASE() 180 compute::vector<compute::float_> keys(keys_data, keys_data + 5, queue); in BOOST_AUTO_TEST_CASE() 188 compute::float_, 5, keys, in BOOST_AUTO_TEST_CASE() 206 compute::float_ keys_data[] = { 10., 5.5, 10., 7., 5.5}; in BOOST_AUTO_TEST_CASE() 209 compute::vector<compute::float_> keys(keys_data, keys_data + 5, queue); in BOOST_AUTO_TEST_CASE() 214 keys.begin(), keys.end(), compute::greater<compute::float_>(), queue in BOOST_AUTO_TEST_CASE() 222 keys.begin(), keys.end(), compute::greater<compute::float_>(), queue in BOOST_AUTO_TEST_CASE() 227 compute::float_, 5, keys, in BOOST_AUTO_TEST_CASE()
|
D | test_strided_iterator.cpp | 165 typedef bc::buffer_iterator<bc::float_> i_type; in BOOST_AUTO_TEST_CASE() 181 bc::vector<bc::float_> vec( in BOOST_AUTO_TEST_CASE() 183 bc::float_(1.1f), in BOOST_AUTO_TEST_CASE() 187 bc::strided_iterator<bc::buffer_iterator<bc::float_> > begin(vec.begin(), 1); in BOOST_AUTO_TEST_CASE() 188 bc::strided_iterator<bc::buffer_iterator<bc::float_> > end(vec.end(), 1); in BOOST_AUTO_TEST_CASE()
|
D | test_type_traits.cpp | 34 BOOST_STATIC_ASSERT((boost::is_same<bc::scalar_type<bc::float_>::type, float>::value)); in BOOST_AUTO_TEST_CASE() 42 BOOST_STATIC_ASSERT(bc::vector_size<bc::float_>::value == 1); in BOOST_AUTO_TEST_CASE() 50 BOOST_STATIC_ASSERT(bc::is_vector_type<bc::float_>::value == false); in BOOST_AUTO_TEST_CASE() 68 BOOST_STATIC_ASSERT((bc::is_fundamental<bc::float_>::value == true)); in BOOST_AUTO_TEST_CASE() 86 BOOST_CHECK(std::strcmp(bc::type_name<bc::float_>(), "float") == 0); in BOOST_AUTO_TEST_CASE()
|
D | test_lambda.cpp | 257 bc::float_ data1[] = { 2.2f, 4.2f, 6.3f, 8.3f, 10.2f }; in BOOST_AUTO_TEST_CASE() 258 compute::vector<bc::float_> vec1(data1, data1 + 5, queue); in BOOST_AUTO_TEST_CASE() 259 compute::vector<bc::float_> vec2(size_t(5), context); in BOOST_AUTO_TEST_CASE() 260 compute::vector<bc::float_> result(5, context); in BOOST_AUTO_TEST_CASE() 270 CHECK_RANGE_CLOSE(bc::float_, 5, result, (0.21f, 0.21f, 0.31f, 0.31f, 0.21f), 0.01f); in BOOST_AUTO_TEST_CASE() 271 CHECK_RANGE_CLOSE(bc::float_, 5, vec2, (2, 4, 6, 8, 10), 0.01f); in BOOST_AUTO_TEST_CASE() 285 bc::float_ data1[] = { 2.2f, 4.2f, 6.3f, 8.3f, 10.2f }; in BOOST_AUTO_TEST_CASE() 286 bc::float_ data2[] = { 4.4f, 4.2f, 6.3f, 16.6f, 10.2f }; in BOOST_AUTO_TEST_CASE() 287 compute::vector<bc::float_> vec1(data1, data1 + 5, queue); in BOOST_AUTO_TEST_CASE() 288 compute::vector<bc::float_> vec2(data2, data2 + 5, queue); in BOOST_AUTO_TEST_CASE() [all …]
|
D | test_merge_sort_gpu.cpp | 146 using boost::compute::float_; in BOOST_AUTO_TEST_CASE() 147 ::boost::compute::greater<float_> greater; in BOOST_AUTO_TEST_CASE() 148 ::boost::compute::less<float_> less; in BOOST_AUTO_TEST_CASE() 151 std::vector<float_> data(size); in BOOST_AUTO_TEST_CASE() 153 data[i] = float_(i%2 ? i : -i); in BOOST_AUTO_TEST_CASE() 156 boost::compute::vector<float_> vector(data.begin(), data.end(), queue); in BOOST_AUTO_TEST_CASE()
|
D | test_stable_sort_by_key.cpp | 123 compute::float_ keys_data[] = { 10., 5.5, 10., 7., 5.5}; in BOOST_AUTO_TEST_CASE() 126 compute::vector<compute::float_> keys(keys_data, keys_data + 5, queue); in BOOST_AUTO_TEST_CASE() 134 compute::float_, 5, keys, in BOOST_AUTO_TEST_CASE()
|
D | test_sort_by_key.cpp | 118 using boost::compute::float_; in BOOST_AUTO_TEST_CASE() 122 std::vector<float_> host_values(n); in BOOST_AUTO_TEST_CASE() 134 compute::vector<float_> values(host_values.begin(), host_values.end(), queue); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/spirit/test/qi/ |
D | regression_numeric_alternatives.cpp | 22 using boost::spirit::qi::float_; in main() 62 BOOST_TEST(test("1.23", float_(0) | float_(1.23f))); in main() 63 BOOST_TEST(test("1.23", float_(1.23f) | float_(0))); in main()
|
D | regression_float_fraction.cpp | 20 using boost::spirit::qi::float_; in main() 28 BOOST_TEST(test_attr("123233.4124", float_, f)); in main() 30 BOOST_TEST(test_attr("987654.3219", float_, f)); in main()
|
D | real2.cpp | 23 using boost::spirit::qi::float_; in main() 93 BOOST_TEST(test_attr("3.402823466e+38", float_, f)); // FLT_MAX in main() 96 BOOST_TEST(test_attr("1.192092896e-07", float_, f)); // FLT_EPSILON in main() 99 BOOST_TEST(test_attr("1.175494351e-38", float_, f)); // FLT_MIN in main() 102 BOOST_TEST(test_attr("219721.03839999999", float_, f)); in main() 105 BOOST_TEST(test_attr("2.2204460492503131e-16", float_, f)); in main()
|
/third_party/boost/libs/intrusive/test/ |
D | parent_from_member_test.cpp | 18 float float_; member 121 BOOST_TEST(&pod == get_parent_from_member(&pod.float_, &POD::float_)); in main() 125 BOOST_TEST(&derived == get_parent_from_member(&derived.float_, &Derived::float_)); in main() 145 …(&multiinheritance == get_parent_from_member(&multiinheritance.float_, &MultiInheritance::float_)); in main()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 124 return FloatingPointToIntConvertAndCheck<int32, float>(float_); in ToInt32() 137 return FloatingPointToIntConvertAndCheck<uint32, float>(float_); in ToUint32() 149 return FloatingPointToIntConvertAndCheck<int64, float>(float_); in ToInt64() 162 return FloatingPointToIntConvertAndCheck<uint64, float>(float_); in ToUint64() 169 return FloatToDouble(float_); in ToDouble() 243 return FloatAsString(float_); in ValueAsStringOrDefault() 347 return NumberConvertAndCheck<To, float>(float_); in GenericConvert()
|
D | datapiece.h | 91 : type_(TYPE_FLOAT), float_(value), use_strict_base64_decoding_(false) {} in DataPiece() 204 float float_; member
|
/third_party/boost/boost/spirit/home/qi/numeric/ |
D | real.hpp | 53 struct use_terminal<qi::domain, tag::float_> 86 , terminal_ex<tag::float_, fusion::vector1<A0> > 100 struct use_lazy_terminal<qi::domain, tag::float_, 1> 137 using spirit::float_; 310 struct make_primitive<tag::float_, Modifiers> 315 terminal_ex<tag::float_
|
/third_party/boost/libs/compute/example/ |
D | k_means.cpp | 29 using compute::float_; 52 compute::uniform_real_distribution<float_> uniform_distribution(0, 800); in main() 56 compute::make_buffer_iterator<float_>(points.get_buffer(), 0), in main() 57 compute::make_buffer_iterator<float_>(points.get_buffer(), n_points * 2), in main()
|
/third_party/boost/libs/compute/include/boost/compute/functional/ |
D | hash.hpp | 86 template<> struct hash<float_> : detail::hash_impl<float_> { };
|
/third_party/boost/boost/compute/functional/ |
D | hash.hpp | 86 template<> struct hash<float_> : detail::hash_impl<float_> { };
|
/third_party/boost/boost/spirit/home/karma/numeric/ |
D | real.hpp | 66 struct use_terminal<karma::domain, tag::float_> // enables float_ 93 , terminal_ex<tag::float_, fusion::vector1<A0> > 108 struct use_lazy_terminal<karma::domain, tag::float_, 1> 152 using spirit::float_; 314 struct make_primitive<tag::float_, Modifiers> 365 terminal_ex<tag::float_, fusion::vector1<A0> >, Modifiers>
|
/third_party/mindspore/mindspore/numpy/ |
D | dtypes.py | 34 float_ = float32 variable 63 float_, 80 'float': float_,
|
/third_party/mindspore/mindspore/nn/probability/distribution/_utils/ |
D | custom_ops.py | 31 if not checktype(dtype(input_x), mstype.float_): 53 if not checktype(dtype(input_x), mstype.float_):
|
/third_party/boost/libs/spirit/test/x3/ |
D | real2.cpp | 58 BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(boost::spirit::x3::float_); in main() 66 basic_real_parser_test<float>(boost::spirit::x3::float_); in main()
|
/third_party/mindspore/mindspore/ccsrc/pybind_api/utils/ |
D | ms_context_py.cc | 40 …>= MS_CTX_TYPE_FLOAT_BEGIN && param < MS_CTX_TYPE_FLOAT_END && py::isinstance<py::float_>(value)) { in MsCtxSetParameter() 64 return py::float_(ctx->get_param<float>(param)); in MsCtxGetParameter()
|
/third_party/mindspore/tests/ut/python/pynative_mode/ops/ |
D | test_isinstance.py | 23 assert P.IsInstance()(1.0, ms.float_) is True
|