likwid icon indicating copy to clipboard operation
likwid copied to clipboard

[FeatureRequest] Library function returning LIKWID GPU support

Open carstenbauer opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

In LIKWID.jl, I currently can't query whether LIKWID has been compiled with GPU support (irrespective of whether a GPU/CUDA is actually available or not).

Describe the solution you'd like

A function in the library and likwid.h that returns whether NVIDIA_INTERFACE has been true or false when LIKWID was compiled. The bugfix number is not required as there shouldn't be new features in bugfix releases.

Describe alternatives you've considered

There are "hacks" to get the information. For example, I can query whether a nvmon function is available in the liblikwid library or even silently call likwid-topology and check for CUDA errors or the GPU section. But this really feels hacky.

Additional context

https://github.com/JuliaPerf/LIKWID.jl

carstenbauer avatar Sep 16 '21 08:09 carstenbauer

Similar to #428

carstenbauer avatar Sep 16 '21 08:09 carstenbauer