Skip to content

Call cache.clear between internal functions in CG_C#7155

Merged
steven-johnson merged 1 commit intomainfrom
srj/clear-c-cache
Nov 8, 2022
Merged

Call cache.clear between internal functions in CG_C#7155
steven-johnson merged 1 commit intomainfrom
srj/clear-c-cache

Conversation

@steven-johnson
Copy link
Copy Markdown
Contributor

We didn't call cache.clear() between internal functions in the C backend, so the cache could try to re-use something declared in a previous (internal, closure) function and would fail to compile. Easy fix. (I'm surprised we haven't seen this fail before now.)

We didn't call cache.clear() between internal functions in the C backend, so the cache could try to re-use something declared in a previous (internal, closure) function and would fail to compile. Easy fix. (I'm surprised we haven't seen this fail before now.)
@steven-johnson steven-johnson merged commit 58421be into main Nov 8, 2022
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
We didn't call cache.clear() between internal functions in the C backend, so the cache could try to re-use something declared in a previous (internal, closure) function and would fail to compile. Easy fix. (I'm surprised we haven't seen this fail before now.)
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