NVIDIA / NVIDIA/cccl

[BUG]: tuple member *get* doesn't compile

Open
#1,519 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

### Is this a duplicate?

- [X] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

### Type of Bug

Compile-time Error

### Component

Thrust

### Describe the bug

Using the member function get on tuple, gives compiler error:
![image](https://github.com/NVIDIA/cccl/assets/1165340/646755df-b82c-4e17-a301-c4e6f5a65a61)

### How to Reproduce

Compiling this example with cuda 12.4
https://nvidia.github.io/cccl/thrust/api/groups/group__tuple.html

### Expected behavior

Program compiles.

### Reproduction link

_No response_

### Operating System

Ubuntu 22.04

### nvidia-smi output

Fri Mar 8 11:35:34 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.161.07 Driver Version: 535.161.07 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA RTX A3000 12GB La... Off | 00000000:01:00.0 On | Off |
| N/A 41C P5 18W / 115W | 1377MiB / 12288MiB | 16% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 4937 G ...1672c49be070e04474901747115651/node 213MiB |
+---------------------------------------------------------------------------------------+

### NVCC version

root@c364d7f4a7f1:/workspaces/CudaFun# /usr/local/cuda-12.4/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Tue_Feb_27_16:19:38_PST_2024
Cuda compilation tools, release 12.4, V12.4.99
Build cuda_12.4.r12.4/compiler.33961263_0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.