Skip to content

Conversation

@OmarEmaraDev
Copy link
Contributor

The variable type of the Ramp in OpenGLCompute is assigned the type of
the base member of the ramp, which is a scalar, while the ramp is a
vector. Instead, we should use the type of the ramp to take vectorization
into account.

Partially resolves #1687.

The variable type of the Ramp in OpenGLCompute is assigned the type of
the base member of the ramp, which is a scalar, while the ramp is a
vector. Instead, we should use the type of the ramp instead to take
vectorization into account.

Partially resolves halide#1687.
@steven-johnson
Copy link
Contributor

Thanks for the fix!

@steven-johnson steven-johnson merged commit b34919f into halide:master Oct 26, 2021
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.

OpenGLCompute needs vectorization handling

3 participants