We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No reason why we can't put the excessively ugly arguments into a struct:
void update_gpu<variable>(size_t step, const dust::cuda::interleaved<variable::real_type> state, dust::cuda::interleaved<int> internal_int, dust::cuda::interleaved<variable::real_type> internal_real, const int * shared_int, const variable::real_type * shared_real, variable::rng_state_type& rng_state, dust::cuda::interleaved<variable::real_type> state_next);
could become
void update_gpu<variable>(size_t step, dust::cuda::model_state<sirs>);
with
template <typename T> struct model_state { using real_type = typename T::real_type; const dust::cuda::interleaved<real_type> state; dust::cuda::interleaved<int> internal_int; dust::cuda::interleaved<real_type> internal_real; const int * shared_int; const real_type * shared_real; variable::rng_state_type& rng_state; dust::cuda::interleaved<real_type> state_next); }
Then update the body to access these
The text was updated successfully, but these errors were encountered:
No branches or pull requests
No reason why we can't put the excessively ugly arguments into a struct:
could become
with
Then update the body to access these
The text was updated successfully, but these errors were encountered: