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

OpenCL_jll.jl should check privilege level #266

Open
maleadt opened this issue Nov 6, 2024 · 0 comments
Open

OpenCL_jll.jl should check privilege level #266

maleadt opened this issue Nov 6, 2024 · 0 comments

Comments

@maleadt
Copy link
Member

maleadt commented Nov 6, 2024

On high integrity levels (i.e., running as Administrator), the env vars we set aren't picked up by the Khronos ICD loader: https://github.com/KhronosGroup/OpenCL-ICD-Loader/blob/92280246c8e30795f08362425510d6acfc5c3f0d/loader/windows/icd_windows_envvars.c#L43-L74

KHR ICD trace at /workspace/srcdir/OpenCL-ICD-Loader/loader/windows/icd_windows_envvars.c:69: Running at a high integrity level, so secure_getenv is returning NULL

This breaks OpenCL_jll.jl, so we should probably warn if we detect this situation.

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

No branches or pull requests

1 participant