mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
opencl: Remove unused function selectedDeviceIsNativeCPU
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
bf9160cede
commit
e8ca29fb17
@ -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
|
||||
|
@ -317,8 +317,6 @@ public:
|
||||
static ds_device selectedDevice;
|
||||
static bool deviceIsSelected;
|
||||
static bool selectedDeviceIsOpenCL();
|
||||
static bool selectedDeviceIsNativeCPU();
|
||||
|
||||
};
|
||||
|
||||
#endif // USE_OPENCL
|
||||
|
Loading…
Reference in New Issue
Block a user