[all-commits] [llvm/llvm-project] 4f4737: [SPIR-V] Add Float16 support when targeting Vulkan...
Natalie Chouinard via All-commits
all-commits at lists.llvm.org
Fri Jan 12 07:04:00 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f47372f8c0733b3846d3a6dbdfffc6b644d9be4
https://github.com/llvm/llvm-project/commit/4f47372f8c0733b3846d3a6dbdfffc6b644d9be4
Author: Natalie Chouinard <sudonatalie at google.com>
Date: 2024-01-12 (Fri, 12 Jan 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/test/CodeGen/SPIRV/basic_float_types.ll
Log Message:
-----------
[SPIR-V] Add Float16 support when targeting Vulkan (#77115)
Add Float16 to Vulkan's available capabilities, and guard Float16Buffer
(Kernel-only capability) against being added outside OpenCL
environments.
Add tests to verify half and half vector types, and validate with
spirv-val.
Fixes #66398
More information about the All-commits
mailing list