Skip to content

Fixed minor Codegen bug for AE#154

Merged
AjayBrahmakshatriya merged 1 commit into
gpu-mergefrom
cgo_ae
Dec 3, 2021
Merged

Fixed minor Codegen bug for AE#154
AjayBrahmakshatriya merged 1 commit into
gpu-mergefrom
cgo_ae

Conversation

@AjayBrahmakshatriya
Copy link
Copy Markdown
Member

There was a minor bug with the code generator where if the condition for the WhileStmt requires data copy between HOST and GPU, it wasn't being copied. This bug surfaced during AE for the CGO22 BuilDSL paper.

This fix uses the existing ExtractReadWriteSet pass and invokes it before generating the condition.

@AjayBrahmakshatriya AjayBrahmakshatriya merged commit b55323b into gpu-merge Dec 3, 2021
@AjayBrahmakshatriya AjayBrahmakshatriya deleted the cgo_ae branch December 3, 2021 14:08
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.

1 participant