---
id: pr-cccl-cub-6496
repo: NVIDIA/cccl
pr: 6496
title: Expose `ptx::mbarrier_inval` and use it
author: bernhardmgruber
date: '2025-11-05'
url: https://github.com/NVIDIA/cccl/pull/6496
source_category: upstream-code
architectures:
- sm90
tags:
- sm90
techniques: []
hardware_features:
- hopper
kernel_types: []
languages:
- ptx
captured_at: '2026-05-16'
status: merged
merge_sha: 0ff1fa47175f6075b41bef6cab86aacb75994e8d
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/cub/block/block_load_to_shared.cuh
- docs/libcudacxx/ptx/instructions.rst
- docs/libcudacxx/ptx/instructions/generated/mbarrier_inval.rst
- docs/libcudacxx/ptx/instructions/mbarrier_inval.rst
- libcudacxx/include/cuda/__barrier/barrier_block_scope.h
- libcudacxx/include/cuda/__ptx/instructions/generated/mbarrier_inval.h
- libcudacxx/include/cuda/__ptx/instructions/mbarrier_inval.h
- libcudacxx/include/cuda/ptx
- libcudacxx/test/libcudacxx/cuda/ptx/generated/mbarrier_inval.h
- libcudacxx/test/libcudacxx/cuda/ptx/ptx.mbarrier_inval.compile.pass.cpp
artifact_dir: evidence/pull-bundles/cccl-cub/gh-6496
head_ref_oid: fa0779078750e8e3149aaf9bd9f7cfa7b52273e2
---
# Expose `ptx::mbarrier_inval` and use it

- Repository: `NVIDIA/cccl`
- PR: [6496](https://github.com/NVIDIA/cccl/pull/6496)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `cub/cub/block/block_load_to_shared.cuh`
- `docs/libcudacxx/ptx/instructions.rst`
- `docs/libcudacxx/ptx/instructions/generated/mbarrier_inval.rst`
- `docs/libcudacxx/ptx/instructions/mbarrier_inval.rst`
- `libcudacxx/include/cuda/__barrier/barrier_block_scope.h`
- `libcudacxx/include/cuda/__ptx/instructions/generated/mbarrier_inval.h`
- `libcudacxx/include/cuda/__ptx/instructions/mbarrier_inval.h`
- `libcudacxx/include/cuda/ptx`
- `libcudacxx/test/libcudacxx/cuda/ptx/generated/mbarrier_inval.h`
- `libcudacxx/test/libcudacxx/cuda/ptx/ptx.mbarrier_inval.compile.pass.cpp`

## Evidence Bundle

`evidence/pull-bundles/cccl-cub/gh-6496`
