Skip to content

Commit caf7d86

Browse files
committed
Merge pull request #402 from OpenKinect/floe-no-devtype-custom
Get rid of CL_DEVICE_TYPE_CUSTOM
2 parents 94826f7 + 314e6cb commit caf7d86

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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)