Skip to content

Commit dcdd5d6

Browse files
committed
ocl: dump OpenCL driver version in tests
1 parent 246d376 commit dcdd5d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/ts/src/ocl_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ void dumpOpenCLDevice()
156156
DUMP_MESSAGE_STDOUT(" Version = " << device.version());
157157
DUMP_PROPERTY_XML("cv_ocl_current_deviceVersion", device.version());
158158

159+
DUMP_MESSAGE_STDOUT(" Driver version = " << device.driverVersion());
160+
DUMP_PROPERTY_XML("cv_ocl_current_driverVersion", device.driverVersion());
161+
159162
DUMP_MESSAGE_STDOUT(" Compute units = "<< device.maxComputeUnits());
160163
DUMP_PROPERTY_XML("cv_ocl_current_maxComputeUnits", device.maxComputeUnits());
161164

0 commit comments

Comments
 (0)