Float 62 apps/HelloMatlab/iir_blur.cpp ImageParam input{Float(32), 3, "input"}; Float 9 apps/bilateral_grid/bilateral_grid_generator.cpp ImageParam input{Float(32), 2, "input"}; Float 17 apps/camera_pipe/camera_pipe_generator.cpp ImageParam matrix_3200{Float(32), 2, "matrix_3200"}; Float 18 apps/camera_pipe/camera_pipe_generator.cpp ImageParam matrix_7000{Float(32), 2, "matrix_7000"}; Float 11 apps/cuda_mat_mul/mat_mul_generator.cpp ImageParam A {Float(32), 2, "A"}; Float 12 apps/cuda_mat_mul/mat_mul_generator.cpp ImageParam B {Float(32), 2, "B"}; Float 39 apps/fft/fft.cpp ComplexExpr undef_z(Type t = Float(32)) { Float 22 apps/interpolate/interpolate.cpp ImageParam input(Float(32), 3); Float 55 apps/openglcompute/test_oglc_avg.cpp ImageParam input_float(Float(32), 3, "input"); Float 113 apps/resize/resize.cpp ImageParam input(Float(32), 3); Float 11 apps/wavelet/daubechies_x_generator.cpp ImageParam in_{ Float(32), 2, "in" }; Float 11 apps/wavelet/haar_x_generator.cpp ImageParam in_{ Float(32), 2, "in" }; Float 11 apps/wavelet/inverse_daubechies_x_generator.cpp ImageParam in_{ Float(32), 3, "in" }; Float 11 apps/wavelet/inverse_haar_x_generator.cpp ImageParam in_{ Float(32), 3, "in" }; Float 434 python_bindings/python/Image.cpp } else if (im.type() == h::Float(32)) { Float 437 python_bindings/python/Image.cpp } else if (im.type() == h::Float(64)) { Float 488 python_bindings/python/Image.cpp if (t == h::Float(32)) return bn::dtype::get_builtin<float>(); Float 489 python_bindings/python/Image.cpp if (t == h::Float(64)) return bn::dtype::get_builtin<double>(); Float 501 python_bindings/python/Image.cpp if (t == bn::dtype::get_builtin<float>()) return h::Float(32); Float 502 python_bindings/python/Image.cpp if (t == bn::dtype::get_builtin<double>()) return h::Float(64); Float 565 python_bindings/python/Image.cpp if (t == h::Float(32)) return create_buffer_object<float>(args...); Float 566 python_bindings/python/Image.cpp if (t == h::Float(64)) return create_buffer_object<double>(args...); Float 609 python_bindings/python/Image.cpp defineBuffer_impl<float>("_float32", h::Float(32)); Float 610 python_bindings/python/Image.cpp defineBuffer_impl<double>("_float64", h::Float(64)); Float 605 python_bindings/python/Param.cpp defineParam_impl<float>("_float32", h::Float(32)); Float 606 python_bindings/python/Param.cpp defineParam_impl<double>("_float64", h::Float(64)); Float 25 python_bindings/python/Type.cpp case h::Type::Float: Float 108 python_bindings/python/Type.cpp p::def("Float", h::Float, Float 917 src/CPlusPlusMangle.cpp args.push_back(ExternFuncArgument(make_zero(Float(32)))); Float 918 src/CPlusPlusMangle.cpp args.push_back(ExternFuncArgument(make_zero(Float(64)))); Float 387 src/CSE.cpp tf[i] = Variable::make(Float(32), "t" + std::to_string(i)); Float 493 src/CodeGen_ARM.cpp if (op->type == Float(32)) { Float 519 src/CodeGen_ARM.cpp {Float(32, 2), "v2f32"}, Float 526 src/CodeGen_ARM.cpp {Float(32, 4), "v4f32"} Float 566 src/CodeGen_ARM.cpp if (op->type == Float(32)) { Float 592 src/CodeGen_ARM.cpp {Float(32, 2), "v2f32"}, Float 599 src/CodeGen_ARM.cpp {Float(32, 4), "v4f32"} Float 671 src/CodeGen_ARM.cpp if (elt == Float(32) || Float 1455 src/CodeGen_C.cpp LoweredArgument float_arg("alpha", Argument::InputScalar, Float(32), 0); Float 211 src/CodeGen_LLVM.cpp wild_f32x2(Variable::make(Float(32, 2), "*")), Float 213 src/CodeGen_LLVM.cpp wild_f32x4(Variable::make(Float(32, 4), "*")), Float 214 src/CodeGen_LLVM.cpp wild_f64x2(Variable::make(Float(64, 2), "*")), Float 216 src/CodeGen_LLVM.cpp wild_f32x8(Variable::make(Float(32, 8), "*")), Float 217 src/CodeGen_LLVM.cpp wild_f64x4(Variable::make(Float(64, 4), "*")), Float 228 src/CodeGen_LLVM.cpp wild_f32x_(Variable::make(Float(32, 0), "*")), Float 229 src/CodeGen_LLVM.cpp wild_f64x_(Variable::make(Float(64, 0), "*")), Float 248 src/CodeGen_LLVM.cpp min_f32(Float(32).min()), Float 249 src/CodeGen_LLVM.cpp max_f32(Float(32).max()), Float 251 src/CodeGen_LLVM.cpp min_f64(Float(64).min()), Float 252 src/CodeGen_LLVM.cpp max_f64(Float(64).max()), Float 2415 src/CodeGen_LLVM.cpp call_args.push_back(codegen(Cast::make(Float(64), op->args[i]))); Float 35 src/CodeGen_OpenGLCompute_Dev.cpp result = Float(32); Float 39 src/CodeGen_OpenGL_Dev.cpp result = Float(32); Float 50 src/CodeGen_OpenGL_Dev.cpp result = Float(32); Float 74 src/CodeGen_OpenGL_Dev.cpp Type float_type = Float(32, result_type.lanes()); Float 180 src/CodeGen_OpenGL_Dev.cpp Type float_type = Float(32, op->type.lanes()); Float 356 src/CodeGen_OpenGL_Dev.cpp if (value_type.code() == Type::Float) { Float 603 src/CodeGen_OpenGL_Dev.cpp internal_assert((op->type.code() == Type::UInt || op->type.code() == Type::Float) && Float 706 src/CodeGen_OpenGL_Dev.cpp weight = Div::make(Cast::make(Float(32), weight), Float 707 src/CodeGen_OpenGL_Dev.cpp Cast::make(Float(32), weight.type().max())); Float 715 src/CodeGen_OpenGL_Dev.cpp Type result_type = Float(32, op->type.lanes()); Float 859 src/CodeGen_OpenGL_Dev.cpp } else if (t == Float(32)) { Float 1010 src/CodeGen_OpenGL_Dev.cpp check(cast<uint8_t>(Variable::make(Float(32), "x")), Float 1038 src/CodeGen_OpenGL_Dev.cpp check(Variable::make(Float(32, 4), "x") / Variable::make(Float(32, 4), "y"), Float 1058 src/CodeGen_OpenGL_Dev.cpp check(lerp(Variable::make(Float(32, 4), "x"), Variable::make(Float(32, 4), "y"), Broadcast::make(0.25f, 4)), Float 1066 src/CodeGen_OpenGL_Dev.cpp check(Call::make(Float(32, 4), "sin_f32", {Broadcast::make(1.f, 4)}, Internal::Call::Extern), Float 1086 src/CodeGen_OpenGL_Dev.cpp check(Select::make(EQ::make(Variable::make(Float(32), "x"), 1.0f), Float 1107 src/CodeGen_OpenGL_Dev.cpp Expr load4 = Call::make(Float(32, 4), Call::glsl_texture_load, Float 142 src/CodeGen_PowerPC.cpp } else if (op->type.element_of() == Float(32)) { Float 144 src/CodeGen_PowerPC.cpp } else if (vsx && op->type.element_of() == Float(64)) { Float 168 src/CodeGen_PowerPC.cpp } else if (op->type.element_of() == Float(32)) { Float 170 src/CodeGen_PowerPC.cpp } else if (vsx && op->type.element_of() == Float(64)) { Float 19 src/ConciseCasts.h return cast(Float(64, e.type().lanes()), e); Float 23 src/ConciseCasts.h return cast(Float(32, e.type().lanes()), e); Float 45 src/DebugToFile.cpp if (t == Float(32)) { Float 47 src/DebugToFile.cpp } else if (t == Float(64)) { Float 282 src/Expr.h EXPORT Expr(float16_t x) : IRHandle(Internal::FloatImm::make(Float(16), (double)x)) {} Float 283 src/Expr.h EXPORT Expr(float x) : IRHandle(Internal::FloatImm::make(Float(32), x)) {} Float 284 src/Expr.h EXPORT explicit Expr(double x) : IRHandle(Internal::FloatImm::make(Float(64), x)) {} Float 735 src/Generator.cpp {"float32", Float(32)}, Float 736 src/Generator.cpp {"float64", Float(64)} Float 765 src/Generator.cpp { encode(Float(32)), "float" }, Float 766 src/Generator.cpp { encode(Float(64)), "double" }, Float 1945 src/Generator.cpp Output<Func> output{"output", Float(32), 1}; Float 2203 src/Generator.h static inline Type Float(int bits, int lanes = 1) { return Halide::Float(bits, lanes); } Float 19 src/IRMatch.cpp Expr fw = Variable::make(Float(32), "*"); Float 22 src/IRMatch.cpp Expr fx = Variable::make(Float(32), "fx"); Float 23 src/IRMatch.cpp Expr fy = Variable::make(Float(32), "fy"); Float 459 src/IROperator.cpp internal_assert(type.element_of() == Float(32)); Float 503 src/IROperator.cpp internal_assert(type.element_of() == Float(32)); Float 549 src/IROperator.cpp user_assert(x_full.type() == Float(32)) << "halide_erf only works for Float(32)"; Float 717 src/IROperator.cpp user_assert(x.type() == Float(32)) << "fast_log only works for Float(32)"; Float 741 src/IROperator.cpp user_assert(x_full.type() == Float(32)) << "fast_exp only works for Float(32)"; Float 872 src/IROperator.h if (x.type() == Float(64)) { Float 873 src/IROperator.h return Internal::Call::make(Float(64), "sin_f64", {x}, Internal::Call::PureExtern); Float 875 src/IROperator.h else if (x.type() == Float(16)) { Float 876 src/IROperator.h return Internal::Call::make(Float(16), "sin_f16", {x}, Internal::Call::PureExtern); Float 879 src/IROperator.h return Internal::Call::make(Float(32), "sin_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 888 src/IROperator.h if (x.type() == Float(64)) { Float 889 src/IROperator.h return Internal::Call::make(Float(64), "asin_f64", {x}, Internal::Call::PureExtern); Float 891 src/IROperator.h else if (x.type() == Float(16)) { Float 892 src/IROperator.h return Internal::Call::make(Float(16), "asin_f16", {x}, Internal::Call::PureExtern); Float 895 src/IROperator.h return Internal::Call::make(Float(32), "asin_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 904 src/IROperator.h if (x.type() == Float(64)) { Float 905 src/IROperator.h return Internal::Call::make(Float(64), "cos_f64", {x}, Internal::Call::PureExtern); Float 907 src/IROperator.h else if (x.type() == Float(16)) { Float 908 src/IROperator.h return Internal::Call::make(Float(16), "cos_f16", {x}, Internal::Call::PureExtern); Float 911 src/IROperator.h return Internal::Call::make(Float(32), "cos_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 920 src/IROperator.h if (x.type() == Float(64)) { Float 921 src/IROperator.h return Internal::Call::make(Float(64), "acos_f64", {x}, Internal::Call::PureExtern); Float 923 src/IROperator.h else if (x.type() == Float(16)) { Float 924 src/IROperator.h return Internal::Call::make(Float(16), "acos_f16", {x}, Internal::Call::PureExtern); Float 927 src/IROperator.h return Internal::Call::make(Float(32), "acos_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 936 src/IROperator.h if (x.type() == Float(64)) { Float 937 src/IROperator.h return Internal::Call::make(Float(64), "tan_f64", {x}, Internal::Call::PureExtern); Float 939 src/IROperator.h else if (x.type() == Float(16)) { Float 940 src/IROperator.h return Internal::Call::make(Float(16), "tan_f16", {x}, Internal::Call::PureExtern); Float 943 src/IROperator.h return Internal::Call::make(Float(32), "tan_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 952 src/IROperator.h if (x.type() == Float(64)) { Float 953 src/IROperator.h return Internal::Call::make(Float(64), "atan_f64", {x}, Internal::Call::PureExtern); Float 955 src/IROperator.h else if (x.type() == Float(16)) { Float 956 src/IROperator.h return Internal::Call::make(Float(16), "atan_f16", {x}, Internal::Call::PureExtern); Float 959 src/IROperator.h return Internal::Call::make(Float(32), "atan_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 969 src/IROperator.h if (y.type() == Float(64)) { Float 971 src/IROperator.h return Internal::Call::make(Float(64), "atan2_f64", {y, x}, Internal::Call::PureExtern); Float 973 src/IROperator.h else if (y.type() == Float(16)) { Float 975 src/IROperator.h return Internal::Call::make(Float(16), "atan2_f16", {y, x}, Internal::Call::PureExtern); Float 980 src/IROperator.h return Internal::Call::make(Float(32), "atan2_f32", {y, x}, Internal::Call::PureExtern); Float 989 src/IROperator.h if (x.type() == Float(64)) { Float 990 src/IROperator.h return Internal::Call::make(Float(64), "sinh_f64", {x}, Internal::Call::PureExtern); Float 992 src/IROperator.h else if (x.type() == Float(16)) { Float 993 src/IROperator.h return Internal::Call::make(Float(16), "sinh_f16", {x}, Internal::Call::PureExtern); Float 996 src/IROperator.h return Internal::Call::make(Float(32), "sinh_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1005 src/IROperator.h if (x.type() == Float(64)) { Float 1006 src/IROperator.h return Internal::Call::make(Float(64), "asinh_f64", {x}, Internal::Call::PureExtern); Float 1008 src/IROperator.h else if(x.type() == Float(16)) { Float 1009 src/IROperator.h return Internal::Call::make(Float(16), "asinh_f16", {x}, Internal::Call::PureExtern); Float 1012 src/IROperator.h return Internal::Call::make(Float(32), "asinh_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1021 src/IROperator.h if (x.type() == Float(64)) { Float 1022 src/IROperator.h return Internal::Call::make(Float(64), "cosh_f64", {x}, Internal::Call::PureExtern); Float 1024 src/IROperator.h else if (x.type() == Float(16)) { Float 1025 src/IROperator.h return Internal::Call::make(Float(16), "cosh_f16", {x}, Internal::Call::PureExtern); Float 1028 src/IROperator.h return Internal::Call::make(Float(32), "cosh_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1037 src/IROperator.h if (x.type() == Float(64)) { Float 1038 src/IROperator.h return Internal::Call::make(Float(64), "acosh_f64", {x}, Internal::Call::PureExtern); Float 1040 src/IROperator.h else if (x.type() == Float(16)) { Float 1041 src/IROperator.h return Internal::Call::make(Float(16), "acosh_f16", {x}, Internal::Call::PureExtern); Float 1044 src/IROperator.h return Internal::Call::make(Float(32), "acosh_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1053 src/IROperator.h if (x.type() == Float(64)) { Float 1054 src/IROperator.h return Internal::Call::make(Float(64), "tanh_f64", {x}, Internal::Call::PureExtern); Float 1056 src/IROperator.h else if (x.type() == Float(16)) { Float 1057 src/IROperator.h return Internal::Call::make(Float(16), "tanh_f16", {x}, Internal::Call::PureExtern); Float 1060 src/IROperator.h return Internal::Call::make(Float(32), "tanh_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1069 src/IROperator.h if (x.type() == Float(64)) { Float 1070 src/IROperator.h return Internal::Call::make(Float(64), "atanh_f64", {x}, Internal::Call::PureExtern); Float 1072 src/IROperator.h else if (x.type() == Float(16)) { Float 1073 src/IROperator.h return Internal::Call::make(Float(16), "atanh_f16", {x}, Internal::Call::PureExtern); Float 1076 src/IROperator.h return Internal::Call::make(Float(32), "atanh_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1085 src/IROperator.h if (x.type() == Float(64)) { Float 1086 src/IROperator.h return Internal::Call::make(Float(64), "sqrt_f64", {x}, Internal::Call::PureExtern); Float 1088 src/IROperator.h else if (x.type() == Float(16)) { Float 1089 src/IROperator.h return Internal::Call::make(Float(16), "sqrt_f16", {x}, Internal::Call::PureExtern); Float 1092 src/IROperator.h return Internal::Call::make(Float(32), "sqrt_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1112 src/IROperator.h if (x.type() == Float(64)) { Float 1113 src/IROperator.h return Internal::Call::make(Float(64), "exp_f64", {x}, Internal::Call::PureExtern); Float 1115 src/IROperator.h else if (x.type() == Float(16)) { Float 1116 src/IROperator.h return Internal::Call::make(Float(16), "exp_f16", {x}, Internal::Call::PureExtern); Float 1119 src/IROperator.h return Internal::Call::make(Float(32), "exp_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1132 src/IROperator.h if (x.type() == Float(64)) { Float 1133 src/IROperator.h return Internal::Call::make(Float(64), "log_f64", {x}, Internal::Call::PureExtern); Float 1135 src/IROperator.h else if (x.type() == Float(16)) { Float 1136 src/IROperator.h return Internal::Call::make(Float(16), "log_f16", {x}, Internal::Call::PureExtern); Float 1139 src/IROperator.h return Internal::Call::make(Float(32), "log_f32", {cast<float>(x)}, Internal::Call::PureExtern); Float 1156 src/IROperator.h if (x.type() == Float(64)) { Float 1158 src/IROperator.h return Internal::Call::make(Float(64), "pow_f64", {x, y}, Internal::Call::PureExtern); Float 1160 src/IROperator.h else if (x.type() == Float(16)) { Float 1162 src/IROperator.h return Internal::Call::make(Float(16), "pow_f16", {x, y}, Internal::Call::PureExtern); Float 1167 src/IROperator.h return Internal::Call::make(Float(32), "pow_f32", {x, y}, Internal::Call::PureExtern); Float 1176 src/IROperator.h user_assert(x.type() == Float(32)) << "erf only takes float arguments\n"; Float 1209 src/IROperator.h user_assert(x.type() == Float(32)) << "fast_inverse only takes float arguments\n"; Float 1217 src/IROperator.h user_assert(x.type() == Float(32)) << "fast_inverse_sqrt only takes float arguments\n"; Float 1227 src/IROperator.h if (x.type().element_of() == Float(64)) { Float 1230 src/IROperator.h else if (x.type().element_of() == Float(16)) { Float 1231 src/IROperator.h return Internal::Call::make(Float(16), "floor_f16", {x}, Internal::Call::PureExtern); Float 1234 src/IROperator.h Type t = Float(32, x.type().lanes()); Float 1245 src/IROperator.h if (x.type().element_of() == Float(64)) { Float 1248 src/IROperator.h else if (x.type().element_of() == Float(16)) { Float 1249 src/IROperator.h return Internal::Call::make(Float(16), "ceil_f16", {x}, Internal::Call::PureExtern); Float 1252 src/IROperator.h Type t = Float(32, x.type().lanes()); Float 1264 src/IROperator.h if (x.type().element_of() == Float(64)) { Float 1265 src/IROperator.h return Internal::Call::make(Float(64), "round_f64", {x}, Internal::Call::PureExtern); Float 1267 src/IROperator.h else if (x.type().element_of() == Float(16)) { Float 1268 src/IROperator.h return Internal::Call::make(Float(16), "round_f16", {x}, Internal::Call::PureExtern); Float 1271 src/IROperator.h Type t = Float(32, x.type().lanes()); Float 1281 src/IROperator.h if (x.type().element_of() == Float(64)) { Float 1282 src/IROperator.h return Internal::Call::make(Float(64), "trunc_f64", {x}, Internal::Call::PureExtern); Float 1284 src/IROperator.h else if (x.type().element_of() == Float(16)) { Float 1285 src/IROperator.h return Internal::Call::make(Float(16), "trunc_f16", {x}, Internal::Call::PureExtern); Float 1288 src/IROperator.h Type t = Float(32, x.type().lanes()); Float 1299 src/IROperator.h if (x.type().element_of() == Float(64)) { Float 1302 src/IROperator.h else if (x.type().element_of() == Float(64)) { Float 1306 src/IROperator.h Type ft = Float(32, x.type().lanes()); Float 1665 src/IROperator.h return Internal::Call::make(Float(32), Internal::Call::random, Float 25 src/IRPrinter.cpp case Type::Float: Float 102 src/IRPrinter.cpp Type f32 = Float(32); Float 53 src/InjectOpenGLIntrinsics.cpp (Cast::make(Float(32), mutate(call_args[from_index])) + 0.5f) / Float 62 src/Lerp.cpp Cast::make(Float(64, typed_weight.type().lanes()), typed_weight)); Float 93 src/Random.cpp return clamp(reinterpret(Float(32), result) - 1.0f, 0.0f, 1.0f); Float 103 src/Random.cpp if (op->type == Float(32)) { Float 5078 src/Simplify.cpp check(cast(Float(32), 3), 3.0f); Float 5085 src/Simplify.cpp check(cast(Float(32), cast(Float(64), x)), cast(Float(32), x)); Float 5105 src/Simplify.cpp check(cast(Float(32), cast(UInt(16), 123456.0f)), 57920.0f); Float 5118 src/Simplify.cpp check(cast(Float(64), 0.5f), Expr(0.5)); Float 5119 src/Simplify.cpp check((x - cast(Float(64), 0.5f)) * (x - cast(Float(64), 0.5f)), Float 6381 src/Simplify.cpp Expr load1 = Load::make(Float(32, 4), "buf", ramp(x, 2, 4), Buffer<>(), Parameter(), const_true(4)); Float 6382 src/Simplify.cpp Expr load2 = Load::make(Float(32, 4), "buf", ramp(x+1, 2, 4), Buffer<>(), Parameter(), const_true(4)); Float 6383 src/Simplify.cpp Expr load12 = Load::make(Float(32, 8), "buf", ramp(x, 1, 8), Buffer<>(), Parameter(), const_true(8)); Float 6391 src/Simplify.cpp Expr load3 = Load::make(Float(32, 4), "buf2", ramp(x+1, 2, 4), Buffer<>(), Parameter(), const_true(4)); Float 6401 src/Simplify.cpp loads.push_back(Load::make(Float(32), "buf", x+i, Buffer<>(), Parameter(), const_true())); Float 6404 src/Simplify.cpp check(concat_vectors(loads), Load::make(Float(32, lanes), "buf", ramp(x, 1, lanes), Buffer<>(), Parameter(), const_true(lanes))); Float 295 src/Type.h static const halide_type_code_t Float = halide_type_float; Float 369 src/Type.h bool is_float() const {return code() == Float;} Float 437 src/Type.h inline Type Float(int bits, int lanes = 1) { Float 438 src/Type.h return Type(Type::Float, bits, lanes); Float 506 src/VaryingAttributes.cpp if ((ends_with(op->name, ".varying")) && (op->type != Float(32))) { Float 509 src/VaryingAttributes.cpp Expr v = Variable::make(Float(32), op->name); Float 547 src/VaryingAttributes.cpp return Float(e.type().bits(), e.type().lanes()); Float 1244 src/VaryingAttributes.cpp Allocate::make(vs.vertex_buffer_name, Float(32), {vertex_buffer_size}, const_true(), Float 422 src/runtime/opengl.cpp type = Argument::Float; Float 1473 src/runtime/opengl.cpp case Argument::Float: Float 1561 src/runtime/opengl.cpp case Argument::Float: Float 8 test/correctness/bounds_of_func.cpp ImageParam in(Float(32), 1); Float 10 test/correctness/bounds_of_monotonic_math.cpp ImageParam input(Float(32), 1); Float 27 test/correctness/cast.cpp assert((int_expr[i] + 1.0f).type() == Float(32)); Float 28 test/correctness/cast.cpp assert((uint_expr[i] + 1.0f).type() == Float(32)); Float 8 test/correctness/dynamic_reduction_bounds.cpp ImageParam input(Float(32), 2); Float 85 test/correctness/exception.cpp ImageParam im(Float(32), 1); Float 31 test/correctness/extern_error.cpp f.define_extern("extern_error", args, Float(32), 1); Float 94 test/correctness/extern_producer.cpp Float(32), 2); Float 117 test/correctness/extern_producer.cpp types.push_back(Float(32)); Float 118 test/correctness/extern_producer.cpp types.push_back(Float(32)); Float 38 test/correctness/extern_sort.cpp sorted.define_extern("sort_buffer", args, Float(32), 1); Float 30 test/correctness/gpu_mixed_shared_mem_types.cpp Float(32)}; Float 94 test/correctness/gpu_multi_device.cpp ImageParam gpu_buffer(Float(32), 3); Float 102 test/correctness/infer_arguments.cpp EXPECT(Type::Float, frac_arg.type.code()); Float 139 test/correctness/infer_arguments.cpp EXPECT(Type::Float, frac_arg.type.code()); Float 7 test/correctness/multipass_constraints.cpp ImageParam in(Float(32), 2, "in"); Float 8 test/correctness/partition_loops_bug.cpp ImageParam input(Float(64), 2); Float 28 test/correctness/pipeline_set_jit_externs_func.cpp f.define_extern("extern_func", args, Float(32), 2); Float 133 test/correctness/print.cpp Expr e = reinterpret(Float(32), random_uint()); Float 175 test/correctness/print.cpp g(x) = print(reinterpret(Float(64), (cast<uint64_t>(random_uint()) << 32) | random_uint())); Float 28 test/correctness/process_some_tiles.cpp ImageParam image(Float(32), 2); Float 17 test/correctness/round.cpp printf("Testing %s (%s x %d)\n", funcname, type_of<T>() == Float(32) ? "float" : "double", vector_width); Float 64 test/correctness/simd_op_check.cpp ImageParam in_f32{Float(32), 1, "in_f32"}; Float 65 test/correctness/simd_op_check.cpp ImageParam in_f64{Float(64), 1, "in_f64"}; Float 213 test/correctness/specialize.cpp ImageParam im(Float(32), 1); Float 258 test/correctness/specialize.cpp ImageParam im(Float(32), 1); Float 310 test/correctness/specialize.cpp ImageParam im(Float(32), 1); Float 455 test/correctness/vector_math.cpp if (type_of<A>() == Float(32)) { Float 7 test/error/impossible_constraints.cpp ImageParam input(Float(32), 2, "in"); Float 10 test/error/unbounded_input.cpp ImageParam in(Float(32), 2); Float 10 test/error/unbounded_output.cpp ImageParam in(Float(32), 2); Float 7 test/generator/acquire_release_generator.cpp ImageParam input{ Float(32), 2, "input" }; Float 45 test/generator/cxx_mangling_define_extern_generator.cpp args, Float(64), 1, NameMangling::Default); Float 47 test/generator/cxx_mangling_define_extern_generator.cpp args, Float(64), 1, NameMangling::CPlusPlus); Float 49 test/generator/cxx_mangling_define_extern_generator.cpp args, Float(64), 1, NameMangling::C); Float 7 test/generator/embed_image_generator.cpp ImageParam input{ Float(32), 3, "input" }; Float 9 test/generator/matlab_generator.cpp ImageParam input{Float(32), 2, "input"}; Float 48 test/generator/metadata_tester_generator.cpp Output<Func[]> array_outputs{ "array_outputs", Float(32), 3 }; // must be overridden to size=2 Float 49 test/generator/metadata_tester_generator.cpp Output<Func[2]> array_outputs2{ "array_outputs2", Float(32), 3 }; Float 39 test/generator/nested_externs_generator.cpp extern_stage_1.define_extern("nested_externs_leaf", {value}, Float(32), 3); Float 40 test/generator/nested_externs_generator.cpp extern_stage_2.define_extern("nested_externs_leaf", {value+1}, Float(32), 3); Float 42 test/generator/nested_externs_generator.cpp {extern_stage_1, extern_stage_2}, Float(32), 3); Float 82 test/generator/nested_externs_generator.cpp extern_stage_1.define_extern("nested_externs_inner", {value}, Float(32), 3); Float 83 test/generator/nested_externs_generator.cpp extern_stage_2.define_extern("nested_externs_inner", {value+1}, Float(32), 3); Float 85 test/generator/nested_externs_generator.cpp {extern_stage_1, extern_stage_2}, Float(32), 3); Float 9 test/generator/pyramid_generator.cpp Input<Func> input{ "input", Float(32), 2 }; Float 10 test/generator/pyramid_generator.cpp Output<Func[]> pyramid{ "pyramid", Float(32), 2 }; Float 22 test/generator/stubtest_generator.cpp GeneratorParam<Type> untyped_buffer_output_type{ "untyped_buffer_output_type", Float(32) }; Float 40 test/generator/stubtest_generator.cpp Output<Func> simple_output{ "simple_output", Float(32), 3}; Float 34 test/generator/tiled_blur_generator.cpp Float(32), 3); Float 7 test/generator/user_context_generator.cpp ImageParam input{ Float(32), 2, "input" }; Float 7 test/generator/user_context_insanity_generator.cpp ImageParam input{ Float(32), 2, "input" }; Float 72 test/performance/boundary_conditions.cpp ImageParam input(Float(32), 2); Float 73 test/performance/boundary_conditions.cpp ImageParam padded_input(Float(32), 2); Float 16 test/performance/rfactor.cpp ImageParam A(Float(32), 1); Float 273 test/performance/rfactor.cpp ImageParam A(Float(32), 1); Float 274 test/performance/rfactor.cpp ImageParam B(Float(32), 1); Float 39 tutorial/lesson_14_types.cpp Float(32), Float(64), Handle() Float 56 tutorial/lesson_14_types.cpp assert(type_of<float>() == Float(32)); Float 72 tutorial/lesson_14_types.cpp assert(sin(x).type() == Float(32)); Float 88 tutorial/lesson_14_types.cpp f2.output_types()[1] == Float(32)); Float 126 tutorial/lesson_14_types.cpp assert((u8 + f32).type() == Float(32)); Float 127 tutorial/lesson_14_types.cpp assert((f32 + s64).type() == Float(32)); Float 128 tutorial/lesson_14_types.cpp assert((u16 + f64).type() == Float(64)); Float 129 tutorial/lesson_14_types.cpp assert((f64 + s32).type() == Float(64)); Float 133 tutorial/lesson_14_types.cpp assert((f64 + f32).type() == Float(64)); Float 207 tutorial/lesson_14_types.cpp assert(average(cast<float>(x), 3.0f).type() == Float(32));