---
id: pr-cccl-cub-6250
repo: NVIDIA/cccl
pr: 6250
title: Replace inline PTX by cuda::ptx in cuda::barrier<thread_scope_block>
author: bernhardmgruber
date: '2025-10-27'
url: https://github.com/NVIDIA/cccl/pull/6250
source_category: upstream-code
architectures:
- sm100
tags:
- sm100
techniques: []
hardware_features:
- blackwell
kernel_types: []
languages:
- cuda-cpp
- ptx
captured_at: '2026-05-16'
status: merged
merge_sha: e987c623399665616761eafc6162a06d7774a161
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- libcudacxx/include/cuda/__barrier/barrier_arrive_tx.h
- libcudacxx/include/cuda/__barrier/barrier_block_scope.h
- libcudacxx/include/cuda/__barrier/barrier_expect_tx.h
- libcudacxx/include/cuda/__barrier/barrier_native_handle.h
- libcudacxx/include/cuda/__fwd/barrier_native_handle.h
- libcudacxx/include/cuda/__memcpy_async/memcpy_async_tx.h
- libcudacxx/include/cuda/__memcpy_async/try_get_barrier_handle.h
- libcudacxx/include/cuda/barrier
artifact_dir: evidence/pull-bundles/cccl-cub/gh-6250
head_ref_oid: aa29fa3be13619c9c025e57dc05970fe1febc1d2
---
# Replace inline PTX by cuda::ptx in cuda::barrier<thread_scope_block>

- Repository: `NVIDIA/cccl`
- PR: [6250](https://github.com/NVIDIA/cccl/pull/6250)
- 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

- `libcudacxx/include/cuda/__barrier/barrier_arrive_tx.h`
- `libcudacxx/include/cuda/__barrier/barrier_block_scope.h`
- `libcudacxx/include/cuda/__barrier/barrier_expect_tx.h`
- `libcudacxx/include/cuda/__barrier/barrier_native_handle.h`
- `libcudacxx/include/cuda/__fwd/barrier_native_handle.h`
- `libcudacxx/include/cuda/__memcpy_async/memcpy_async_tx.h`
- `libcudacxx/include/cuda/__memcpy_async/try_get_barrier_handle.h`
- `libcudacxx/include/cuda/barrier`

## Evidence Bundle

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