commit | 17939e38863e5b2efc4de18450b7a268e46aba22 | [log] [tgz] |
---|---|---|
author | Vyacheslav Levytskyy <vyacheslav.levytskyy@intel.com> | Fri Apr 19 10:08:35 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 19 01:16:28 2024 -0700 |
tree | 9d30fa3187f07d8773e148d38581e705e8fb2270 | |
parent | 6a79068a6a68ac2cc606b84d165c8761139d0ddd [diff] |
[SPIR-V] SPIR-V Backend must generate a valid OCL version if working in OpenCL environment (#89199) If there is no information about OpenCL version we are forced to generate OpenCL 1.0 by default for the OpenCL environment to avoid puzzling run-times with Unknown/0.0 version output. For a reference, LLVM-SPIRV Translator avoids potential issues with run-times in a similar manner. GitOrigin-RevId: 14193f4320e26b75dc592abf952af1c63760665c