Improve Handling of `cpp_options` by katrinabrock · Pull Request #1022 · stan-dev/cmdstanr
This was referenced
Aug 21, 2024
katrinabrock
changed the title
Fix opencl tests
Improve Handling of cpp_options
* Model objects from exe file compiled with opencl fail to sample. * stan_threads set in makefile not respected
* 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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters