ocl: dump OpenCL driver version in tests

This commit is contained in:
Alexander Alekhin 2017-03-15 18:23:30 +03:00
parent 246d3761ce
commit dcdd5d64b6

View File

@ -156,6 +156,9 @@ void dumpOpenCLDevice()
DUMP_MESSAGE_STDOUT(" Version = " << device.version());
DUMP_PROPERTY_XML("cv_ocl_current_deviceVersion", device.version());
DUMP_MESSAGE_STDOUT(" Driver version = " << device.driverVersion());
DUMP_PROPERTY_XML("cv_ocl_current_driverVersion", device.driverVersion());
DUMP_MESSAGE_STDOUT(" Compute units = "<< device.maxComputeUnits());
DUMP_PROPERTY_XML("cv_ocl_current_maxComputeUnits", device.maxComputeUnits());