NVIDIA / cccl

CUDA Core Compute Libraries
https://nvidia.github.io/cccl/
Other
1.17k stars 140 forks source link

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

Open larshg opened 7 months ago

larshg commented 7 months ago

Is this a duplicate?

Type of Bug

Compile-time Error

Component

Thrust

Describe the bug

Using the member function get on tuple, gives compiler error: image

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

miscco commented 7 months ago

Actually that is intentional, as that interface is not standard conforming. I missed to remove the documentation for it

larshg commented 7 months ago

Alright, thanks for quick response!