Add toolchain setup check for OpenCL
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 160
- Forks
- 69
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 15
Description
Summary
It was identified on the forums that OpenCL models can fail to compile without a helpful error message: https://discourse.mc-stan.org/t/cmdstan-installation-error/32900/5
I think we should add a configuration/setup step for OpenCL so we can catch the error and recommend running the setup function. I'm currently leaning towards adding it to check_cmdstan_toolchain, like:
check_cmdstan_toolchain(fix = TRUE, opencl = TRUE)
Thoughts/prefs?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing check_cmdstan_toolchain entry point and the setup path used for OpenCL. Run the current toolchain checks to understand their behavior, then define the OpenCL failure case and verify that the check reports a helpful recommendation to run the setup function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100