ProGTX / clinfo

Print all known information about all available OpenCL platforms and devices in the system
Other
2 stars 1 forks source link

[feature request] Using Conan to install Khronos headers and libraries #1

Open Foadsf opened 4 years ago

Foadsf commented 4 years ago

Following this discussion, rhere are these Conan packages:

  1. Conan package for OpenCL Headers
  2. Conan package for Khronos OpenCL CLHPP
  3. Conan package for OpenCL ICD Loader

However, the conan search <packageName> doesn't return any results for either khronos nor opencl queries. I'm not sure how the above packages should be installed!

There are also some attempts to use vcpkg. But not sure how far they are.

Foadsf commented 4 years ago

some progress reported here.

ProGTX commented 4 years ago

Hi, thanks for raising this issue. I'll investigate and try to add a conanfile.py to the repo. The search might require certain Conan remotes to be available.

For example, conan search *khronos* on my machine yields at least the following:

khronos-opencl-headers/20190412@bincrafters/stable

You can add bincrafters as described here: https://bincrafters.github.io/2017/06/06/using-bincrafters-conan-repository/ .

I'm not sure about the other repos, will take a look.

Foadsf commented 4 years ago

@ProGTX That I have explained here and the readme file of the branch I PRed.