summaryrefslogtreecommitdiff
path: root/opencl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'opencl/inc')
-rw-r--r--opencl/inc/opencl_device_selection.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h
index 263b8c006b2f..b6a30fd5b01c 100644
--- a/opencl/inc/opencl_device_selection.h
+++ b/opencl/inc/opencl_device_selection.h
@@ -640,21 +640,6 @@ cleanup:
return DS_SUCCESS;
}
-inline ds_status getNumDeviceWithEmptyScore(ds_profile* profile, unsigned int* num)
-{
- unsigned int i;
- if (profile == NULL || num == NULL) return DS_MEMORY_ERROR;
- *num = 0;
- for (i = 0; i < profile->numDevices; i++)
- {
- if (profile->devices[i].score == NULL)
- {
- (*num)++;
- }
- }
- return DS_SUCCESS;
-}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */