-
Notifications
You must be signed in to change notification settings - Fork 35
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
Refactor optical data to use extensible params/states #1280
Conversation
a9707a4
to
efc6b24
Compare
e632ce6
to
a95300d
Compare
a95300d
to
aa62614
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.
Nice, thanks @sethrj!
storage_->obj.state<MemSpace::native>( | ||
core_state.stream_id(), core_state.size()), | ||
storage_->size[core_state.stream_id().get()]}}; | ||
scintillation_->device_ref(), state.store.ref()}}; |
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.
Is this missing the buffer size?
scintillation_->device_ref(), state.store.ref()}}; | |
scintillation_->device_ref(), state.store.ref(), state.buffer_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.
Goodness, why did that compile, and even worse how does the test pass? 👀 Good catch. I've checked the other call signatures.
This refactors the optical collector to use "user" params and state rather than a state store.