Skip to content

Frozen Functions Kernel History #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 18, 2025
Merged

Frozen Functions Kernel History #153

merged 4 commits into from
Jul 18, 2025

Conversation

DoeringChristian
Copy link
Contributor

Enables frozen functions to generate kernel history entries, when replaying kernels.

Copy link
Member

@merlinND merlinND left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks nice, good job catching that this was missing!

}

state.kernel_history.append(kernel_history_entry);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If all of this code that creates the kernel history entry is very close to the existing code (in the normal kernel launch function), would it make sense to factor some of this out to a common function?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it make sense for the llvm/cuda threadstate to record the kernel history entry? This is how it is recorded for other operations, such as reductions etc.

@DoeringChristian DoeringChristian force-pushed the replay-kernel-history branch 2 times, most recently from d6724b0 to 039b0e8 Compare July 15, 2025 11:11
Copy link
Member

@wjakob wjakob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor typography comment :)

@wjakob wjakob merged commit 2ba7f0b into master Jul 18, 2025
5 checks passed
@wjakob wjakob deleted the replay-kernel-history branch July 18, 2025 07:09
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