Skip to content

Conversation

@rohany
Copy link
Contributor

@rohany rohany commented Jan 21, 2021

This commit fixes a bug where upon recompilation of an index statement,
entries in the kernel cache could be inadvertently modified, leading to
confusing segfaults.

An example of the bug is included in the added test, where the second
call to c(i, j) = a(i, j) would hit the cache, but then find a module
that had code that corresponded to c(i, j) = a(i, j) + b(i, j).

This commit fixes a bug where upon recompilation of an index statement,
entries in the kernel cache could be inadvertently modified, leading to
confusing segfaults.

An example of the bug is included in the added test, where the second
call to `c(i, j) = a(i, j)` would hit the cache, but then find a module
that had code that corresponded to `c(i, j) = a(i, j) + b(i, j)`.
@stephenchouca stephenchouca merged commit f59a6e5 into tensor-compiler:master Jan 21, 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.

2 participants