Skip to content

Commit 73eaf1d

Browse files
committed
added README section describing debug environment variables
1 parent e2ce2dd commit 73eaf1d

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,13 @@ Please create a GitHub issue to report an issue or ask questions.
111111
## Contributing
112112

113113
Contributions to the OpenCL ICD Loader are welcomed and encouraged.
114-
You will be prompted with a one-time "click-through" CLA dialog as part of submitting your pull request or other contribution to GitHub.
114+
You will be prompted with a one-time "click-through" CLA dialog as part of submitting your pull request or other contribution to GitHub.
115+
116+
## Table of Debug Environment Variables
117+
118+
The following debug environment variables are available for use with the OpenCL ICD loader:
119+
120+
| Environment Variable | Behavior | Example Format |
121+
|:---------------------------------:|---------------------|----------------------|
122+
| OCL_ICD_FILENAMES | Specifies a list of additional ICDs to load. The ICDs will be enumerated first, before any ICDs discovered via default mechanisms. | `export OCL_ICD_FILENAMES=libVendorA.so:libVendorB.so`<br/><br/>`set OCL_ICD_FILENAMES=vendor_a.dll;vendor_b.dll` |
123+
| OCL_ICD_VENDORS | On Linux and Android, specifies a directory to scan for ICDs to enumerate in place of the default `/etc/OpenCL/vendors'. | `export OCL_ICD_VENDORS=/my/local/icd/search/path` |

0 commit comments

Comments
 (0)