/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/src/ |
H A D | ImageParam.cpp | 7 ImageParam::ImageParam(Type t, int d) in ImageParam() function in Halide::ImageParam 16 ImageParam::ImageParam(Type t, int d, const std::string &n) in ImageParam() function in Halide::ImageParam 25 Func ImageParam::create_func() const { in create_func() 41 void ImageParam::set(const Buffer<> &b) { in set() 52 Buffer<> ImageParam::get() const { in get() 56 void ImageParam::reset() { in reset() 68 ImageParam::operator Func() const { in operator Func() 72 Func ImageParam::in(const Func &f) { in in() 82 Func ImageParam::in() { in in() 87 void ImageParam::trace_loads() { in trace_loads() [all …]
|
H A D | ParamMap.h | 15 class ImageParam; variable 21 const ImageParam *image_param{nullptr}; 32 ParamMapping(const ImageParam &p, Buffer<> &buf) in ParamMapping() 37 ParamMapping(const ImageParam &p, Buffer<T> &buf) in ParamMapping() 41 ParamMapping(const ImageParam &p, Buffer<> *buf_ptr) in ParamMapping() 46 ParamMapping(const ImageParam &p, Buffer<T> *buf_ptr) in ParamMapping() 71 void set(const ImageParam &p, const Buffer<> &buf, Buffer<> *buf_out_param); 89 void set(const ImageParam &p, const Buffer<> &buf) { in set()
|
H A D | ImageParam.h | 23 class ImageParam : public OutputImageParam { 28 ImageParam(const Internal::Parameter &p, Func f) in ImageParam() function 37 ImageParam() = default; 41 ImageParam(Type t, int d); 45 ImageParam(Type t, int d, const std::string &n); 135 ImageParam &add_trace_tag(const std::string &trace_tag);
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/python_bindings/src/ |
H A D | PyImageParam.cpp | 57 py::class_<ImageParam>(m, "ImageParam", output_image_param_class) in define_image_param() 61 .def("set", &ImageParam::set) in define_image_param() 62 .def("get", &ImageParam::get) in define_image_param() 63 .def("reset", &ImageParam::reset) in define_image_param() 64 .def("__getitem__", [](ImageParam &im, const Expr &args) -> Expr { in define_image_param() 70 .def("__getitem__", [](ImageParam &im, const std::vector<Var> &args) -> Expr { in define_image_param() 73 .def("in", (Func(ImageParam::*)(const Func &)) & ImageParam::in) in define_image_param() 74 .def("in", (Func(ImageParam::*)(const std::vector<Func> &)) & ImageParam::in) in define_image_param() 75 .def("in", (Func(ImageParam::*)()) & ImageParam::in) in define_image_param() 76 .def("trace_loads", &ImageParam::trace_loads) in define_image_param() [all …]
|
H A D | PyBoundaryConditions.cpp | 27 "constant_exterior", [](const ImageParam &im, const Expr &exterior) -> Func { in define_boundary_conditions() 55 "repeat_edge", [](const ImageParam &im) -> Func { in define_boundary_conditions() 83 "repeat_image", [](const ImageParam &im) -> Func { in define_boundary_conditions() 111 "mirror_image", [](const ImageParam &im) -> Func { in define_boundary_conditions() 139 "mirror_interior", [](const ImageParam &im) -> Func { in define_boundary_conditions()
|
H A D | PyArgument.cpp | 14 .def(py::init([](const ImageParam &im) -> Argument { in define_argument() 27 py::implicitly_convertible<ImageParam, Argument>(); in define_argument()
|
H A D | PyExternFuncArgument.cpp | 17 .def(py::init([](const ImageParam &im) -> ExternFuncArgument { return im; })) in define_extern_func_argument() 30 py::implicitly_convertible<ImageParam, ExternFuncArgument>(); in define_extern_func_argument()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/correctness/ |
H A D | python_extension_gen.cpp | 9 ImageParam buffer_u8(UInt(8), 2, "buffer_u8"); in main() 10 ImageParam buffer_u16(UInt(16), 2, "buffer_u16"); in main() 11 ImageParam buffer_u32(UInt(32), 2, "buffer_u32"); in main() 12 ImageParam buffer_i8(Int(8), 2, "buffer_i8"); in main() 13 ImageParam buffer_i16(Int(16), 2, "buffer_i16"); in main() 14 ImageParam buffer_i32(Int(32), 2, "buffer_i32"); in main()
|
H A D | unsafe_promises.cpp | 24 ImageParam in(UInt(16), 1); in main() 25 ImageParam lut(Float(32), 1); in main() 37 ImageParam in(UInt(8), 1); in main() 38 ImageParam lut(Float(32), 1); in main() 52 ImageParam in(UInt(8), 1); in main() 53 ImageParam lut(Float(32), 1); in main()
|
H A D | simd_op_check.h | 30 ImageParam in_f32{Float(32), 1, "in_f32"}; 31 ImageParam in_f64{Float(64), 1, "in_f64"}; 32 ImageParam in_i8{Int(8), 1, "in_i8"}; 33 ImageParam in_u8{UInt(8), 1, "in_u8"}; 34 ImageParam in_i16{Int(16), 1, "in_i16"}; 35 ImageParam in_u16{UInt(16), 1, "in_u16"}; 36 ImageParam in_i32{Int(32), 1, "in_i32"}; 37 ImageParam in_u32{UInt(32), 1, "in_u32"}; 38 ImageParam in_i64{Int(64), 1, "in_i64"}; 39 ImageParam in_u64{UInt(64), 1, "in_u64"}; [all …]
|
H A D | host_alignment.cpp | 78 void set_alignment_host_ptr(ImageParam &i, int align, std::map<string, int> &m) { in set_alignment_host_ptr() 96 ImageParam i1(Int(8), 1); in test() 97 ImageParam i2(Int(8), 1); in test() 98 ImageParam i3(Int(8), 1); in test()
|
H A D | extern_bounds_inference.cpp | 29 void check(ImageParam im, int x, int w, int y, int h) { in check() 54 ImageParam input(UInt(8), 2); in main() 73 ImageParam input(UInt(8), 2); in main() 103 ImageParam input(UInt(8), 2); in main()
|
H A D | image_wrapper.cpp | 19 ImageParam img(Int(32), 2); in calling_wrapper_no_op_test() 36 ImageParam img(Int(32), 2); in calling_wrapper_no_op_test() 50 ImageParam img(Int(32), 2); in calling_wrapper_no_op_test() 73 ImageParam img(Int(32), 1, "img"); in func_wrapper_test() 111 ImageParam img(Int(32), 1, "img"); in multiple_funcs_sharing_wrapper_test() 164 ImageParam img(Int(32), 2, "img"); in global_wrapper_test() 209 ImageParam img(Int(32), 2, "img"); in update_defined_after_wrapper_test() 300 ImageParam img(Int(32), 2, "img"); in rdom_wrapper_test() 345 ImageParam img(Int(32), 1, "img"); in global_and_custom_wrapper_test() 389 ImageParam img(Int(32), 2, "img"); in wrapper_depend_on_mutated_func_test() [all …]
|
H A D | isnan.cpp | 98 ImageParam in(Float(32), 2); in main() 137 ImageParam in(Float(32), 2); in main() 176 ImageParam in(Float(32), 2); in main() 217 ImageParam in(Float(32), 2); in main() 258 ImageParam in(Float(32), 2); in main() 299 ImageParam in(Float(32), 2); in main()
|
H A D | specialize.cpp | 220 ImageParam im(Float(32), 1); in main() 264 ImageParam im(Float(32), 1); in main() 315 ImageParam im(Float(32), 1); in main() 335 ImageParam im(Int(32), 2); in main() 367 ImageParam im(Int(32), 1); in main() 391 ImageParam im(Int(32), 2); in main() 420 ImageParam im(Int(32), 2); in main() 453 ImageParam im(Int(32), 2); in main() 491 ImageParam im(Int(32), 2); in main()
|
H A D | constraints.cpp | 18 ImageParam param(Int(32), 2); in basic_constraints() 98 ImageParam p_aligned(Float(32), 2); in alignment_constraints() 99 ImageParam p_unaligned(Float(32), 2); in alignment_constraints() 144 ImageParam param(Int(32), 2); in unstructured_constraints()
|
H A D | bounds_of_cast.cpp | 6 void check(Func f, ImageParam in, int min, int extent) { in check() 22 ImageParam input(Int(32), 1); in main()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/error/ |
H A D | unbounded_input.cpp | 10 ImageParam in(Float(32), 2); in main() 11 ImageParam x_coord(Int(32), 2); in main() 12 ImageParam y_coord(Int(32), 2); in main()
|
H A D | unbounded_output.cpp | 10 ImageParam in(Float(32), 2); in main() 11 ImageParam x_coord(Int(32), 2); in main() 12 ImageParam y_coord(Int(32), 2); in main()
|
H A D | broken_promise.cpp | 19 ImageParam in(UInt(16), 1); in main() 20 ImageParam lut(Float(32), 1); in main()
|
/dports/graphics/filmulator/filmulator-gui-0.11.1/filmulator-gui/Halide/ |
H A D | performLayerMix.cpp | 17 ImageParam devConc(type_of<float>(),2); in main() 20 ImageParam devMoved(type_of<float>(),2); in main() 23 ImageParam filmData(type_of<float>(), 3); in main()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/auto_schedule/ |
H A D | param.cpp | 8 ImageParam input(UInt(8), 2); in run_test_1() 35 ImageParam input(UInt(8), 2); in run_test_2() 62 ImageParam input(UInt(8), 2); in run_test_3() 91 ImageParam input(UInt(8), 2); in run_test_4()
|
H A D | extern.cpp | 31 ImageParam input(UInt(8), 2); in test_case_1() 70 ImageParam input(UInt(8), 2); in test_case_2() 102 ImageParam input(UInt(8), 2); in test_case_3()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/apps/openglcompute/ |
H A D | test_oglc_avg.cpp | 5 void blur(std::string suffix, ImageParam input) { in blur() 54 ImageParam input_uint32(UInt(32), 3, "input"); in main() 57 ImageParam input_float(Float(32), 3, "input"); in main()
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/test/performance/ |
H A D | rfactor.cpp | 16 ImageParam A(Float(32), 1); in one_d_max() 129 ImageParam input(UInt(8), 4); in four_d_argmin() 199 ImageParam input0(Int(32), 1); in complex_multiply() 200 ImageParam input1(Int(32), 1); in complex_multiply() 262 ImageParam A(Float(32), 1); in dot_product() 263 ImageParam B(Float(32), 1); in dot_product() 327 ImageParam A(Int(32), 1); in kitchen_sink()
|