Open HamedSharifian opened 2 years ago
The https://github.com/gpu/JOCLSamples/blob/master/src/main/java/org/jocl/samples/JOCLDeviceQuery.java sample might be what you're looking for. It iterates through all platforms, and all devices for each platform, and prints the name and vendor of each device (together with lots of further technical information).
I have a device with 2 GPUs: