[FeatureRequest] Library function returning LIKWID GPU support
Created by: carstenbauer
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