mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Add CL_DEVICE_IMAGE_SUPPORT to clDeviceInfo File (#830)
- [x] Add `CL_DEVICE_IMAGE_SUPPORT` to the clDeviceInfo file which contains device specific information for the purposes of offline compilation. For devices with images support `CL_DEVICE_IMAGE_SUPPORT=1` is printed, otherwise `CL_DEVICE_IMAGE_SUPPORT=0`.
This commit is contained in:
@@ -372,6 +372,8 @@ static cl_int get_cl_device_info_str(const cl_device_id device, const cl_uint de
|
||||
clDeviceInfoStream << "CL_DEVICE_IL_VERSION=\"" << ilVersionString << "\"" << std::endl;
|
||||
}
|
||||
clDeviceInfoStream << "CL_DEVICE_VERSION=\"" << versionString << "\"" << std::endl;
|
||||
clDeviceInfoStream << "CL_DEVICE_IMAGE_SUPPORT="
|
||||
<< (0 == checkForImageSupport(device)) << std::endl;
|
||||
|
||||
clDeviceInfo = clDeviceInfoStream.str();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user