You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
versioninfo interface should be versioninfo(io::IO=stdout, backend). This should be trivial to implement for all backends except for AMDGPU which doesn't currently take an io::IO parameter in its versioninfo
KernelAbstractions.versioninfo([io], backend) was added in #712 and is implemented by all back ends, printing the toolchain and the device. Device properties such as KernelInterface.multiprocessor_count, max_work_group_size and sub_group_size came with #635; requests for other specific properties can get their own issue.
Activity
vchuravy commentedon Jun 25, 2025
Might also make sense to add
versioninfo(backend).pxl-th commentedon Jul 2, 2025
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
christiangnrd commentedon Jun 18, 2026
versioninfointerface should beversioninfo(io::IO=stdout, backend). This should be trivial to implement for all backends except for AMDGPU which doesn't currently take anio::IOparameter in itsversioninfomaleadt commentedon Oct 19, 2026
KernelAbstractions.versioninfo([io], backend)was added in #712 and is implemented by all back ends, printing the toolchain and the device. Device properties such asKernelInterface.multiprocessor_count,max_work_group_sizeandsub_group_sizecame with #635; requests for other specific properties can get their own issue.