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

Null platformIds; Not getting any opencl platforms on Ubuntu #10

Open
acemasterjb opened this issue Apr 27, 2021 · 1 comment
Open

Null platformIds; Not getting any opencl platforms on Ubuntu #10

acemasterjb opened this issue Apr 27, 2021 · 1 comment

Comments

@acemasterjb
Copy link

System

OS: Windows 10 w/ WSL2; Ubuntu 18.04.5 LTS
GPU: Intel UHD 620 (iGPU)
OpenCL Installable Client Driver used: https://github.com/OCL-dev/ocl-icd

Reproduced error

Tried running cl.GetPlatforms(), with no prior preparation/setup. I keep getting:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x602ac6]

Not sure what I'm doing wrong here...

@acemasterjb
Copy link
Author

I guess to go in a bit more depth, when this function is called...

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