Skip to content

Commit 40cac06

Browse files
committed
Get rid of CL_DEVICE_TYPE_CUSTOM
1 parent 4cf31d6 commit 40cac06

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/protonect/src/opencl_depth_packet_processor.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,8 @@ class OpenCLDepthPacketProcessorImpl: public WithPerfLogging
247247
case CL_DEVICE_TYPE_ACCELERATOR:
248248
devType = "ACCELERATOR";
249249
break;
250-
case CL_DEVICE_TYPE_CUSTOM:
251-
devType = "CUSTOM";
252-
break;
253250
default:
254-
devType = "UNKNOWN";
251+
devType = "CUSTOM/UNKNOWN";
255252
}
256253

257254
return devName + " (" + devType + ")[" + devVendor + ']';

0 commit comments

Comments
 (0)