STRUCT KFD_IOCTL_DBG_TRAP_SET_WAVE_LAUNCH_MODE_ARGS(9)
๐ NAME ๐
struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args โ the arguments struct for KFD_IOC_DBG_TRAP_SET_WAVE_LAUNCH_MODE, bestie ๐
(this one lives in the Kernel API Manual, if you were wondering ๐ซถ)
โจ SYNOPSIS โจ
struct kfd_ioctl_dbg_trap_set_wave_launch_mode_args {
__u32 launch_mode;
};
look at her. one field. absolutely zero notes. she said "minimalism" and ate ๐ฅ
๐ Members ๐
launch_mode(IN) โ the actual mode value, and for the lore you gotta go seekfd_dbg_trap_wave_launch_mode๐
๐ธ Description ๐ธ
okay so the whole job of this struct is literally just: set wave launch mode. that's it. that's the post ๐ฎ
generic errors apply here, so if something goes sideways, go read kfd_dbg_trap_operations for the whole error situation ๐ญ
and the return? it's - 0 on SUCCESS. yes girl, zero on success, iconic behavior ๐
ngl, no cap โ if you're poking at debug traps, keep kfd_dbg_trap_operations open in another tab. the generic errors live there and they will find you ๐
๐ฆ SEE ALSO ๐ฆ
the kernel file for all this is ./include/uapi/linux/kfd_ioctl.h โ go say hi to it ๐ซถ
and then the whole friend group, fr fr:
struct kfd_ioctl_criu_args(9)enum kfd_ioctl_svm_op(9)enum kfd_ioctl_svm_attr_type(9)struct kfd_ioctl_svm_attribute(9)struct kfd_ioctl_svm_args(9)struct kfd_ioctl_set_xnack_mode_args(9)struct kfd_ioctl_runtime_enable_args(9)struct kfd_ioctl_dbg_trap_enable_args(9)struct kfd_ioctl_dbg_trap_send_runtime_event_args(9)struct kfd_ioctl_dbg_trap_set_exceptions_enabled_args(9)struct kfd_ioctl_dbg_trap_set_wave_launch_override_args(9)struct kfd_ioctl_dbg_trap_suspend_queues_args(9)struct kfd_ioctl_dbg_trap_resume_queues_args(9)struct kfd_ioctl_dbg_trap_set_node_address_watch_args(9)struct kfd_ioctl_dbg_trap_clear_node_address_watch_args(9)struct kfd_ioctl_dbg_trap_set_flags_args(9)struct kfd_ioctl_dbg_trap_query_debug_event_args(9)struct kfd_ioctl_dbg_trap_query_exception_info_args(9)struct kfd_ioctl_dbg_trap_queue_snapshot_args(9)struct kfd_ioctl_dbg_trap_device_snapshot_args(9)struct kfd_ioctl_dbg_trap_args(9)struct kfd_ioctl_pmc_settings(9)
that's the whole page, mwah ๐ sourced straight from ./include/uapi/linux, dated October 2026 โ go forth and set those wave launch modes, bestie ๐โญ๐ง
๐ฆ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms