[all-commits] [llvm/llvm-project] 14193f: [SPIR-V] SPIR-V Backend must generate a valid OCL ...

Vyacheslav Levytskyy via All-commits all-commits at lists.llvm.org
Fri Apr 19 01:08:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14193f4320e26b75dc592abf952af1c63760665c
      https://github.com/llvm/llvm-project/commit/14193f4320e26b75dc592abf952af1c63760665c
  Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
    M llvm/test/CodeGen/SPIRV/empty-module.ll

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list