Skip to content
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

Add CHIP_DEVICE_TYPE to documentation #800

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

karlwessel
Copy link
Contributor

@karlwessel karlwessel commented Mar 12, 2024

This add the following two points to the documentation.

  1. Document existance and usage of the CHIP_DEVICE_TYPE environment variable.
  2. Adds one more note regarding availability of trace and debug log level information.

Motivation

Thanks for this great library, works great!
I had to spent some hours at the beginning tracking down the root for the following two error messages using OpenCL backend: Selected OpenCL device 0 is out of range.
It took some time to find the undocumented environment variable which caused chipStar to only look for GPUs on my CPU-only system.

also adds a comment that debug and trace level log information is only available for DEBUG builds
@pvelesko
Copy link
Collaborator

Thank you for the contribution! @karlwessel

@pvelesko pvelesko merged commit 54d99f6 into CHIP-SPV:main Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants