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
Some workaround has been done to get the same thing
from OpenCL, but both OpenCL and CUDA don't print
the same info. So for the moment, getting PCI Bus ID
is available from CUDA and "not supported" for OpenCL
(see commented code (will be removed after reviewing!)).
Recall: PCI Bus ID is printed as:
domain:bus:device.function
where domain, bus, device and function
are hexadecimal strings:
domain: 16 bits info (4 characters)
bus: 8 bits info (2 characters)
device: 5 bits info (2 characters)
function: 3 bits info (1 character)
Reference:
http://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__DEVICE.html#group__CUDART__DEVICE_1gea264dad3d8c4898e0b82213c0253defhttp://www.makelinux.net/ldd3/chp-12-sect-1
0 commit comments