Home
last modified time | relevance | path

Searched refs:ImageParam (Results 1 – 25 of 122) sorted by relevance

12345

/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/src/
H A DImageParam.cpp7 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 DParamMap.h15 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 DImageParam.h23 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 DPyImageParam.cpp57 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 DPyBoundaryConditions.cpp27 "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 DPyArgument.cpp14 .def(py::init([](const ImageParam &im) -> Argument { in define_argument()
27 py::implicitly_convertible<ImageParam, Argument>(); in define_argument()
H A DPyExternFuncArgument.cpp17 .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 Dpython_extension_gen.cpp9 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 Dunsafe_promises.cpp24 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 Dsimd_op_check.h30 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 Dhost_alignment.cpp78 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 Dextern_bounds_inference.cpp29 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 Dimage_wrapper.cpp19 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 Disnan.cpp98 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 Dspecialize.cpp220 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 Dconstraints.cpp18 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 Dbounds_of_cast.cpp6 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 Dunbounded_input.cpp10 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 Dunbounded_output.cpp10 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 Dbroken_promise.cpp19 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 DperformLayerMix.cpp17 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 Dparam.cpp8 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 Dextern.cpp31 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 Dtest_oglc_avg.cpp5 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 Drfactor.cpp16 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()

12345