feature. See also
. The project being documented here (as the example) is the Zig library itself.
amdgcn.Feature
pub const Feature = enum
File
Code
pub const Feature = enum {
@"1024_addressable_vgprs",
@"16_bit_insts",
@"45_bit_num_records_buffer_resource",
@"64_bit_literals",
a16,
add_min_max_insts,
add_no_carry_insts,
add_sub_u64_insts,
addressablelocalmemorysize163840,
addressablelocalmemorysize32768,
addressablelocalmemorysize327680,
addressablelocalmemorysize65536,
agent_scope_fine_grained_remote_memory_atomics,
allocate1_5xvgprs,
aperture_regs,
architected_flat_scratch,
architected_sgprs,
ashr_pk_insts,
assembler_permissive_wavesize,
atomic_buffer_global_pk_add_f16_insts,
atomic_buffer_global_pk_add_f16_no_rtn_insts,
atomic_buffer_pk_add_bf16_inst,
atomic_csub_no_rtn_insts,
atomic_ds_pk_add_16_insts,
atomic_fadd_no_rtn_insts,
atomic_fadd_rtn_insts,
atomic_flat_pk_add_16_insts,
atomic_fmin_fmax_flat_f32,
atomic_fmin_fmax_flat_f64,
atomic_fmin_fmax_global_f32,
atomic_fmin_fmax_global_f64,
atomic_global_pk_add_bf16_inst,
auto_waitcnt_before_barrier,
back_off_barrier,
bf16_cvt_insts,
bf16_pk_insts,
bf16_trans_insts,
bf8_cvt_scale_insts,
bitop3_insts,
block_vgpr_csr,
bvh_dual_bvh_8_insts,
ci_insts,
clusters,
cube_insts,
cumode,
cvt_fp8_vop1_bug,
cvt_norm_insts,
cvt_pk_f16_f32_inst,
cvt_pknorm_vop2_insts,
cvt_pknorm_vop3_insts,
d16_write_vgpr32,
default_component_broadcast,
default_component_zero,
dl_insts,
dot10_insts,
dot11_insts,
dot12_insts,
dot13_insts,
dot1_insts,
dot2_insts,
dot3_insts,
dot4_insts,
dot5_insts,
dot6_insts,
dot7_insts,
dot8_insts,
dot9_insts,
dpp,
dpp8,
dpp_64bit,
dpp_src1_sgpr,
ds128,
ds_src2_insts,
emulated_system_scope_atomics,
extended_image_insts,
f16bf16_to_fp6bf6_cvt_scale_insts,
f32_to_f16bf16_cvt_sr_insts,
fast_denormal_f32,
fast_fmaf,
flat_address_space,
flat_atomic_fadd_f32_inst,
flat_buffer_global_fadd_f64_inst,
flat_for_global,
flat_global_insts,
flat_gvs_mode,
flat_inst_offsets,
flat_scratch,
flat_scratch_insts,
flat_segment_offset_bug,
fma_mix_bf16_insts,
fma_mix_insts,
fmacf64_inst,
fmaf,
fp4_cvt_scale_insts,
fp64,
fp6bf6_cvt_scale_insts,
fp8_conversion_insts,
fp8_cvt_scale_insts,
fp8_insts,
fp8e5m3_insts,
full_rate_64_ops,
g16,
gcn3_encoding,
gds,
get_wave_id_inst,
gfx10,
gfx10_3_insts,
gfx10_a_encoding,
gfx10_b_encoding,
gfx10_insts,
gfx11,
gfx11_insts,
gfx12,
gfx1250_insts,
gfx12_insts,
gfx7_gfx8_gfx9_insts,
gfx8_insts,
gfx9,
gfx90a_insts,
gfx940_insts,
gfx950_insts,
gfx9_insts,
globally_addressable_scratch,
gws,
half_rate_64_ops,
ieee_minimum_maximum_insts,
image_gather4_d16_bug,
image_insts,
image_store_d16_bug,
inst_fwd_prefetch_bug,
int_clamp_insts,
inv_2pi_inline_imm,
kernarg_preload,
lds_barrier_arrive_atomic,
lds_branch_vmem_war_hazard,
lds_misaligned_bug,
ldsbankcount16,
ldsbankcount32,
lerp_inst,
load_store_opt,
lshl_add_u64_inst,
mad_intra_fwd_bug,
mad_mac_f32_insts,
mad_mix_insts,
mad_u32_inst,
mai_insts,
max_hard_clause_length_32,
max_hard_clause_length_63,
max_private_element_size_16,
max_private_element_size_4,
max_private_element_size_8,
mcast_load_insts,
memory_atomic_fadd_f32_denormal_support,
mfma_inline_literal_bug,
mimg_r128,
min3_max3_pkf16,
minimum3_maximum3_f16,
minimum3_maximum3_f32,
minimum3_maximum3_pkf16,
movrel,
msaa_load_dst_sel_bug,
negative_scratch_offset_bug,
negative_unaligned_scratch_offset_bug,
no_data_dep_hazard,
no_sdst_cmpx,
nsa_clause_bug,
nsa_encoding,
nsa_to_vmem_bug,
offset_3f_bug,
packed_fp32_ops,
packed_tid,
partial_nsa_encoding,
permlane16_swap,
permlane32_swap,
pk_add_min_max_insts,
pk_fmac_f16_inst,
point_sample_accel,
precise_memory,
priv_enabled_trap2_nop_bug,
prng_inst,
promote_alloca,
prt_strict_null,
pseudo_scalar_trans,
qsad_insts,
r128_a16,
real_true16,
relaxed_buffer_oob_mode,
required_export_priority,
requires_cov6,
restricted_soffset,
s_memrealtime,
s_memtime_inst,
s_wakeup_barrier_inst,
sad_insts,
safe_cu_prefetch,
safe_smem_prefetch,
salu_float,
scalar_atomics,
scalar_dwordx3_loads,
scalar_flat_scratch_insts,
scalar_stores,
sdwa,
sdwa_mav,
sdwa_omod,
sdwa_out_mods_vopc,
sdwa_scalar,
sdwa_sdst,
sea_islands,
setprio_inc_wg_inst,
setreg_vgpr_msb_fixup,
sgpr_init_bug,
shader_cycles_hi_lo_registers,
shader_cycles_register,
si_scheduler,
smem_to_vector_write_hazard,
southern_islands,
sramecc,
sramecc_support,
tanh_insts,
tensor_cvt_lut_insts,
tgsplit,
transpose_load_f4f6_insts,
trap_handler,
trig_reduced_range,
true16,
unaligned_access_mode,
unaligned_buffer_access,
unaligned_ds_access,
unaligned_scratch_access,
unpacked_d16_vmem,
unsafe_ds_offset_folding,
user_sgpr_init16_bug,
valu_trans_use_hazard,
vcmpx_exec_war_hazard,
vcmpx_permlane_hazard,
vgpr_align2,
vgpr_index_mode,
vmem_pref_insts,
vmem_to_lds_load_insts,
vmem_to_scalar_write_hazard,
vmem_write_vgpr_in_order,
volcanic_islands,
vop3_literal,
vop3p,
vopd,
vscnt,
wait_xcnt,
waits_before_system_scope_stores,
wavefrontsize16,
wavefrontsize32,
wavefrontsize64,
xf32_insts,
xnack,
xnack_support,
}