---
id: pr-cccl-cub-7869
repo: NVIDIA/cccl
pr: 7869
title: Enables sort_by_key with long double keys on the host
author: andrewcorrigan
date: '2026-03-04'
url: https://github.com/NVIDIA/cccl/pull/7869
source_category: upstream-code
architectures:
- sm100
tags:
- sort
techniques: []
hardware_features: []
kernel_types:
- sort
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 2bc41d597b19e8b2c8db30ae367a7f8370fc0d0c
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- libcudacxx/include/cuda/std/__cccl/assert.h
- thrust/testing/sort_by_key.cu
- thrust/thrust/system/detail/sequential/sort.h
artifact_dir: evidence/pull-bundles/cccl-cub/gh-7869
head_ref_oid: 7863e65dcd2726bfd98aaa3883a5f4f07c86eb33
---
# Enables sort_by_key with long double keys on the host

- Repository: `NVIDIA/cccl`
- PR: [7869](https://github.com/NVIDIA/cccl/pull/7869)
- 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/std/__cccl/assert.h`
- `thrust/testing/sort_by_key.cu`
- `thrust/thrust/system/detail/sequential/sort.h`

## Evidence Bundle

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