Skip to content

CUDA: volume renderer gradient kernel slow #1083

Answered by wsmoses
erizmr asked this question in Q&A
Discussion options

You must be logged in to vote

You can add -mllvm -enzyme-max-cache which changes the allocations from dynamic reallocs to static malloc, which should partially improve things -- though those two remaining allocations still persist and can cause some performance issues.

@michel2323 @sriharikrishna this looks like a good example of why we should move some more of the checkpointing work into Enzyme proper. cc @vchuravy

Replies: 10 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tgymnich
Comment options

You must be logged in to vote
2 replies
@erizmr
Comment options

@tgymnich
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #1071 on April 02, 2023 16:38.