STRUCT KFD_IOCTL_DBG_TRAP_SET_WAVE_LAUNCH_MODE_ARGS(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– 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 see kfd_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