Improve Handling of `cpp_options` by katrinabrock · Pull Request #1022 · stan-dev/cmdstanr

@katrinabrock mentioned this pull request

Aug 8, 2024

This was referenced

Aug 21, 2024

@katrinabrock katrinabrock changed the title Fix opencl tests Improve Handling of cpp_options

Aug 21, 2024
* Model objects from exe file compiled with opencl fail to sample.
* stan_threads set in makefile not respected

@katrinabrock

* mod$cpp_options() now shows options as false if unset
    (same as the `info` cli command). Previously, this
    was inconsistent: sometimes showing the user-provided arg
    and sometimes showing the output of `info`
* tests now match expected behavior of cmdstan
Make it more clear that setting
cpp_options = list(OPTION = FALSE)
results in OPTION being set (turned on) rather
than unset (turned off).

@katrinabrock

@katrinabrock

@katrinabrock

@katrinabrock

Co-authored-by: Steve Bronder <Stevo15025@gmail.com>

@katrinabrock

@katrinabrock

@katrinabrock

@katrinabrock

@katrinabrock