Oblomov · @oblomov
464 followers · 12403 posts · Server sociale.network

When building , if the OS is detected , the system library is linked. Building with an OS override (e.g.: make OS=Homebrew) avoids this, and allows clinfo to be linked against the “local” OpenCL library (the aforementioned ocl-icd, typically).

Now the question is: would it be possible to build an executable that somehow manages to handle _both_? This would allow clinfo to report both the “system” platform and the “local” platforms.

#opencl #darwin #clinfo

Last updated 2 years ago

Oblomov · @oblomov
464 followers · 12402 posts · Server sociale.network

As 's implementation got deprecated and —I'm told— started degenerating towards uselessness, more people have started installing alternative ones through —typically PortableCL .
This in turn returns an OpenCL library that is a loader —so people also install ocl-icd (again from Homebrew).

This poses an interesting conundrum for me as the maintainer.

#clinfo #icd #PoCL #homebrew #opencl #apple

Last updated 2 years ago