Skip to content

[Task] Provide unwrap_it const pointer overloads for half-precision floating point types #12585

Closed

Description

@oleksandr-pavlyk

Test files such as catch2_test_device_reduce.cu and catch2_test_device_scan.cu use half_t and nvbfloat16_t types, which are test-support wrappers around corresponding CUDA __half and __nv_bfloat16 types.

unwrap_t utility bridges these types and their corresponding CUDA's counterparts.

The implementation only handles conversions of unqualified pointers. Attempting to convert const half_t* encounters compiler error.

This gets in a way of adding warranted const qualifiers for input iterators in CUB algorithms.

Activity

  1. moved this from Todo to In Progress in CCCLon Nov 10, 2026
  2. moved this from In Progress to In Review in CCCLon Nov 10, 2026
  3. oleksandr-pavlyk commented on Nov 10, 2026

    @oleksandr-pavlyk
    ContributorAuthor

    A TODO note pertaining to this task was left in catch2_test_segmented_scan.cu in #12495

  4. moved this from In Review to Done in CCCLon Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions