-
Notifications
You must be signed in to change notification settings - Fork 24
Multiple directories in OCL_ICD_VENDORS #7
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
Comments
ping |
Thanks for the suggestion, that is something I am looking into. |
Wouldn't this be better done in |
Yes, but that only supports one directory at a time. |
Well, I meant extending OPENCL_VENDOR_PATH to become a colon (semicolon in Windows) separated list of paths. |
I am working with the OpenCL WG to reunify the way the loaders are configured. These things take time, but I'd rather not add additional divergence at this point. This prevents me from using One thing I would be open to is adding support for |
Hi. I also stumbled upon this (not for the first time). I want to have 64-bit and 32-bit icd files passed, and right now, it just blindly tries to open the file:
At this point tho, I think it would be better to follow Khronos way and support |
This The workaround I found for now is to copy the needed icd file (or a set of files) to a different directory, and specify it in OCL_ICD_VENDORS. So for example there are two amd platforms: orca and rocm. I want to be able to select any set and test how application will work with them. I create three directories in
and choose one of them by specifying |
I wanted to add a feature such that ocl-icd can look at multiple directories to find icds. For that I'm thinking of using OCL_ICD_VENDORS env variable with a colon separated list of directories like PATH env variable.
If you agree that this is useful, I can send a PR.
The text was updated successfully, but these errors were encountered: