commit | ff9676f8785599445ee3a520d94033439c5a2e12 | [log] [tgz] |
---|---|---|
author | James Price <jamesprice.dev@gmail.com> | Wed Dec 09 16:06:30 2020 |
committer | GitHub <noreply@github.com> | Wed Dec 09 16:06:30 2020 |
tree | 175452ff6fa4f315c79809acf21ca3579dc8d5fe | |
parent | 827dffbd83407ae0bc678e0fe575cc3ee0c21aed [diff] |
Fix build_with_il on devices older than 2.1 (#1065) The get_device_il_version_string() function throws an exception if the device does not support the CL_DEVICE_IL_VERSION query, so don't call this unless the version is recent enough.