KernelAbstractions.jl icon indicating copy to clipboard operation
KernelAbstractions.jl copied to clipboard

Vendor-agnostic device information

Open efaulhaber opened this issue 6 months ago • 2 comments

It would be nice if we could do something like KernelAbstractions.devices(backend) or so to print the name of the device we're working on. And even further: a KernelAbstractions.versioninfo(backend) to print the CUDA version and so on. This could be very useful for logging.

efaulhaber avatar Jun 24 '25 07:06 efaulhaber

Might also make sense to add versioninfo(backend).

vchuravy avatar Jun 25 '25 06:06 vchuravy

Maybe even an interface to query common device properties. Currently I have to define extensions to query for amount of shared memory available on the device: https://github.com/pxl-th/NNop.jl/tree/master/ext

pxl-th avatar Jul 02 '25 10:07 pxl-th