提交 e8ca29fb 编写于 作者: S Stefan Weil

opencl: Remove unused function selectedDeviceIsNativeCPU

Signed-off-by: NStefan Weil <sw@weilnetz.de>
上级 bf9160ce
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册