Add CL_DEVICE_NAME to clDeviceInfo File (#836)

- [x] Add `CL_DEVICE_NAME` to list of device properties printed into the
clDeviceInfo file for offline compilation testing.
- [x] Add `get_device_name` helper function.
- [x] Update offline compiler interface explanation file with
`CL_DEVICE_NAME` and `CL_DEVICE_IMAGE_SUPPORT` which was missed from
this file when added.
This commit is contained in:
Jack Frankland
2020-07-01 17:30:31 +01:00
committed by GitHub
parent d6cfe817c8
commit 16bb1d83c5
4 changed files with 12 additions and 0 deletions

View File

@@ -23,3 +23,5 @@ It is of the following form:
CL_DEVICE_EXTENSIONS="<space separated list of CL extensions>"
CL_DEVICE_IL_VERSION="<space separated list of IL versions>"
CL_DEVICE_VERSION="OpenCL <version> <vendor info>"
CL_DEVICE_IMAGE_SUPPORT=<0|1>
CL_DEVICE_NAME="device name"