From e8ca29fb179406ea224a4334c47b00b40aa7a750 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 26 Apr 2017 07:55:27 +0200 Subject: [PATCH] opencl: Remove unused function selectedDeviceIsNativeCPU Signed-off-by: Stefan Weil --- opencl/openclwrapper.cpp | 5 ----- opencl/openclwrapper.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/opencl/openclwrapper.cpp b/opencl/openclwrapper.cpp index 8d623758d4..c252f92bc5 100644 --- a/opencl/openclwrapper.cpp +++ b/opencl/openclwrapper.cpp @@ -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 diff --git a/opencl/openclwrapper.h b/opencl/openclwrapper.h index 41b79ae198..c7179d5c81 100644 --- a/opencl/openclwrapper.h +++ b/opencl/openclwrapper.h @@ -317,8 +317,6 @@ class OpenclDevice static ds_device selectedDevice; static bool deviceIsSelected; static bool selectedDeviceIsOpenCL(); - static bool selectedDeviceIsNativeCPU(); - }; #endif // USE_OPENCL