Skip to content

[APP] Fix hexagon_benchmarks build (use two-var prefetch)#6563

Merged
steven-johnson merged 4 commits intohalide:masterfrom
masahi:app-prefetch-fix
Jan 18, 2022
Merged

[APP] Fix hexagon_benchmarks build (use two-var prefetch)#6563
steven-johnson merged 4 commits intohalide:masterfrom
masahi:app-prefetch-fix

Conversation

@masahi
Copy link
Copy Markdown
Contributor

@masahi masahi commented Jan 15, 2022

Fix the following error when compiling hexgaon_benchmarks app:

Halide/distrib/include/Halide.h:24829:77: error: ‘Halide::Func& Halide::Func::prefetch(const T&, Halide::VarOrRVar, int, Halide::PrefetchBoundStrategy) [with T = Halide::GeneratorInput<Halide::Buffer<unsigned char> >]’ is deprecated: Call prefetch() with the two-var form instead. [-Werror=deprecated-declarations]
24829 |         return this->template as<Class>().Method(std::forward<Args>(args)...)

@pranavb-ca pranavb-ca self-requested a review January 15, 2022 23:17
Copy link
Copy Markdown
Contributor

@steven-johnson steven-johnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending green

@steven-johnson
Copy link
Copy Markdown
Contributor

Failure is unrelated, landing

@steven-johnson steven-johnson merged commit 77de08c into halide:master Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants