Skip to content
Open
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
5 changes: 4 additions & 1 deletion src/compiler/compilation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ end
supports_fp64 = oneL0.module_properties(device()).fp64flags & oneL0.ZE_DEVICE_MODULE_FLAG_FP64 == oneL0.ZE_DEVICE_MODULE_FLAG_FP64

# TODO: emit printf format strings in constant memory
extensions = String["SPV_EXT_relaxed_printf_string_address_space"]
extensions = String[
"SPV_EXT_relaxed_printf_string_address_space",
"SPV_EXT_shader_atomic_float_add"
]

# create GPUCompiler objects
target = SPIRVCompilerTarget(; extensions, supports_fp16, supports_fp64, kwargs...)
Expand Down