cubecl_core/codegen/
compiler.rs1#[derive(Clone, Copy, Debug, Default)]
3pub struct WgpuCompilationOptions {
4 pub supports_u64: bool,
5 pub supports_vulkan: bool,
7
8 pub vulkan: VulkanCompilationOptions,
9}
10
11#[derive(Clone, Copy, Debug, Default)]
12pub struct VulkanCompilationOptions {
13 pub supports_fp_fast_math: bool,
14 pub supports_explicit_smem: bool,
15 pub supports_arbitrary_bitwise: bool,
16 pub supports_uniform_standard_layout: bool,
17 pub supports_uniform_unsized_array: bool,
18
19 pub max_spirv_version: (u8, u8),
20}