Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-johnson committed Sep 23, 2020
1 parent 60f093e commit 8ab7809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/generator/stubuser_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class StubUser : public Halide::Generator<StubUser> {
const float kOffset = 2.f;
calculated_output(x, y, c) = cast<uint8_t>(out.tuple_output(x, y, c)[1] + kOffset);

Buffer<int> input = make_image<int>();
Buffer<int> configure_input = make_image<int>();
const int bias = 1;
Buffer<uint8_t> extra_u8(32, 32);
extra_u8.fill(0);
Expand All @@ -83,7 +83,7 @@ class StubUser : public Halide::Generator<StubUser> {
Func extra_func;
extra_func(x, y, c) = cast<uint16_t>(3);
const int extra_scalar = 0;
int_output = configure::generate(this, {input,
int_output = configure::generate(this, {configure_input,
bias,
extra_u8,
extra_u8,
Expand Down

0 comments on commit 8ab7809

Please sign in to comment.