ignore example code blocks on nvptx and amdgpu

This commit is contained in:
Folkert de Vries
2026-08-09 14:08:59 +02:00
parent 11114b41bd
commit 2a018f4dce
2 changed files with 5 additions and 5 deletions

View File

@@ -351,13 +351,13 @@ pub unsafe fn sched_barrier<const MASK: u32>() {
/// Combining multiple `sched_group_barrier` intrinsics enables an ordering of specific instruction types during instruction scheduling.
/// For example, the following enforces a sequence of 1 VMEM read, followed by 1 VALU instruction, followed by 5 MFMA instructions.
///
/// ```rust
/// ```ignore
/// // 1 VMEM read
/// sched_group_barrier::<32, 1, 0>()
/// sched_group_barrier::<32, 1, 0>();
/// // 1 VALU
/// sched_group_barrier::<2, 1, 0>()
/// sched_group_barrier::<2, 1, 0>();
/// // 5 MFMA
/// sched_group_barrier::<8, 5, 0>()
/// sched_group_barrier::<8, 5, 0>();
/// ```
///
#[doc(cfg(target_arch = "amdgpu"))]

View File

@@ -157,7 +157,7 @@ unsafe extern "C" {
/// * `format`: A pointer to the format specifier input (uses common `printf` format).
/// * `valist`: A pointer to the valist input.
///
/// ```
/// ```ignore
/// #[repr(C)]
/// struct PrintArgs(f32, f32, f32, i32);
///