opencl: Remove unused function selectedDeviceIsNativeCPU

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2017-04-26 07:55:27 +02:00
parent bf9160cede
commit e8ca29fb17
2 changed files with 0 additions and 7 deletions

View File

@ -3611,9 +3611,4 @@ bool OpenclDevice::selectedDeviceIsOpenCL() {
return (device.type == DS_DEVICE_OPENCL_DEVICE);
}
bool OpenclDevice::selectedDeviceIsNativeCPU() {
ds_device device = getDeviceSelection();
return (device.type == DS_DEVICE_NATIVE_CPU);
}
#endif

View File

@ -317,8 +317,6 @@ public:
static ds_device selectedDevice;
static bool deviceIsSelected;
static bool selectedDeviceIsOpenCL();
static bool selectedDeviceIsNativeCPU();
};
#endif // USE_OPENCL