Skip to content

Commit

Permalink
opencl: Remove unused function selectedDeviceIsNativeCPU
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Apr 26, 2017
1 parent bf9160c commit e8ca29f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions opencl/openclwrapper.cpp
Expand Up @@ -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
2 changes: 0 additions & 2 deletions opencl/openclwrapper.h
Expand Up @@ -317,8 +317,6 @@ class OpenclDevice
static ds_device selectedDevice;
static bool deviceIsSelected;
static bool selectedDeviceIsOpenCL();
static bool selectedDeviceIsNativeCPU();

};

#endif // USE_OPENCL
Expand Down

0 comments on commit e8ca29f

Please sign in to comment.