-
Notifications
You must be signed in to change notification settings - Fork 18
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
Frozen ThreadState #107
base: master
Are you sure you want to change the base?
Frozen ThreadState #107
Conversation
288194d
to
bb38a86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review part 1. It's mostly about documentation / comments / docstrings to make everything super clear.
It's great that you already created unit tests at the drjit-core
level!
I still have to look at the big record_ts.*
files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review part 2
7ea730c
to
e01f19a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review part 3.
It's a partial review of record_ts.cpp
, but unfortunately I won't have time to review the rest of the file, there's too much code.
64a3dd7
to
2915c3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Christian,
this is very impressive work! Here is a first batch of feedback, much of it about the structure and comments.
21a8b62
to
e4ca159
Compare
05859ad
to
c4433a4
Compare
ef227f5
to
4ea393a
Compare
050953d
to
b808415
Compare
6473a75
to
cfddef6
Compare
cfddef6
to
8ead8dd
Compare
Squashed everything into 7 commits. The first two are the same as in #106. |
d97e71b
to
49e6f12
Compare
This PR implements the Freezing feature in
drjit-core
(depends on #106).It makes the following changes:
jit.h
, including the following functions:jit_freeze_start
,jit_freeze_stop
,jit_freeze_replay
,jit_freeze_dry_run
,jit_freeze_pause
,jit_freeze_resume
,jit_freeze_abort
andjit_freeze_destroy
as well as theRecording
struct.RecordThreadState
, a wrapper around either the CUDA or LLVMThreadState
for freezing them.