diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-06-27 18:11:04 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-06-27 18:16:02 +0300 |
commit | c62baccba2d4cdf61a2caca232278b7e6c6348d1 (patch) | |
tree | 3e4ab7ae04cf0fe856ee4c5472edee5c83063022 /opencl/inc | |
parent | eca4625cfd4bbc0562777a9464ea9bb1ffe5d9f0 (diff) |
Add some informative comments
Change-Id: I3c85543efe824c06781486aff2d836e5ba48e66e
Diffstat (limited to 'opencl/inc')
-rw-r--r-- | opencl/inc/opencl_device_selection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h index 45e9f5b397d3..0522d768ba78 100644 --- a/opencl/inc/opencl_device_selection.h +++ b/opencl/inc/opencl_device_selection.h @@ -45,7 +45,12 @@ enum ds_status enum class DeviceType { None, + // NativeCPU means the traditional Calc interpreter code path. (That also includes the so-called + // "software interpreter", but note that it definitely does not mean *exclusively* that.) NativeCPU, + // OpenCLDevice means an OpenCL device as supplied by an OpenCL platform, which might well be + // implemented using code that runs on the CPU (and not a GPU). On Windows, OpenCL platforms + // typically provide two devices, one for the GPU and one for the CPU. OpenCLDevice }; |