-
Notifications
You must be signed in to change notification settings - Fork 69
feat(new-execution): TracingMemory
and removal of records/logs
#1584
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
Conversation
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.
I understood most of it and left some comments about some things I didn't understand
config.max_constraint_degree as u32 - 1, | ||
), | ||
offline_memory, | ||
memory_controller.offline_memory.clone(), |
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.
nit: or just .offline_memory()
?
debug_assert!(block_size.is_power_of_two()); | ||
debug_assert_eq!(block_size % align, 0); | ||
debug_assert_ne!(addr_space, 0); | ||
debug_assert_eq!(align as u32, self.min_block_size[addr_space as usize]); |
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.
Why do we pass align
then when we could just get it from self.min_block_size
?
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.
I don't want to do the memory lookup to self.min_block_size
(maybe it stays in cache?) when it should be more like a constant
- deleting `Vm{Adapter,Core}Chip` traits - no more records, directly use trace buffer - jal_lui chip is a demonstration of the new changes with working unit tests - changed unit tester - [x] need to add some dummy volatile memory to the tester to balance based on touched addresses
deleting
Vm{Adapter,Core}Chip
traitsno more records, directly use trace buffer
jal_lui chip is a demonstration of the new changes with working unit tests
changed unit tester
need to add some dummy volatile memory to the tester to balance based on touched addresses