Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "oneAPI"
uuid = "8f75cd03-7ff8-4ecb-9b8f-daf728133b1b"
authors = ["Tim Besard <tim.besard@gmail.com>", "Alexis Montoison", "Michel Schanen <michel.schanen@gmail.com>"]
version = "2.7.2"
version = "2.7.3"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
9 changes: 8 additions & 1 deletion src/compiler/compilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,14 @@ end
# advertise the extension). We lower bfloat→i16 in finish_ir! when needed.
supports_bfloat16 = _device_supports_bfloat16(dev)

extensions = String[]
# SPIR-V extensions the LLVM back-end may emit. Declaring them permits the
# corresponding instructions during translation: without
# SPV_EXT_shader_atomic_float_add, floating-point atomic operations fail to
# translate ("The atomic float instruction requires ... SPV_EXT_shader_atomic_float_add").
extensions = String[
"SPV_EXT_relaxed_printf_string_address_space",
"SPV_EXT_shader_atomic_float_add",
]
# Only add the SPIR-V extension if the runtime actually supports it
if _driver_supports_bfloat16_spirv(dev)
push!(extensions, "SPV_KHR_bfloat16")
Expand Down
Loading