-
Notifications
You must be signed in to change notification settings - Fork 30
This PR modifies conda-recipe to add post-link to dpctl #1081
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
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1081/index.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oleksandr-pavlyk , thank you! LGTM!
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_41 ran successfully. |
The post-link creates a symbolic link from $PREFIX/etc/OpenCL/vendors/intel-gpu.icd to /etc/OpenCL/vendors/intel.icd if one exists. This is a work-around to ensure that OpenCL GPU device from system installation can be found by OpenCL loader in intel-opencl-rt forthcoming package.
7a9dafa
to
7dc575a
Compare
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_41 ran successfully. |
Verified that conda package artifacts work locally. Merging now. |
Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞 |
Array API standard conformance tests for dpctl=0.14.1dev2=py310h76be34b_41 ran successfully. |
conda prunes empty folders, so the dpctl tar-ball did not contain empty etc/OpenCL/vendors folder. Solved by create a dummy `.dpctl_readme` file in that folder. The script dpctl-post-link.sh contained a type in the filename it was checking should not exist.
Fixes to dpctl-post-link prior changes gh-1081
The post-link creates a symbolic link from
$PREFIX/etc/OpenCL/vendors/intel-gpu.icd
to/etc/OpenCL/vendors/intel.icd
if one exists.This is a work-around to ensure that OpenCL GPU device from system installation can be found by OpenCL loader in
intel-opencl-rt
forthcoming package.