|
| 1 | +name: Bug Report |
| 2 | +description: Create a report to help us improve |
| 3 | +title: '[BUG]: ' |
| 4 | +labels: ['Bug'] |
| 5 | +body: |
| 6 | + - type: checkboxes |
| 7 | + id: check-duplicates |
| 8 | + attributes: |
| 9 | + label: Is this a duplicate? |
| 10 | + description: Check for duplicate issues. |
| 11 | + options: |
| 12 | + - label: 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) |
| 13 | + required: true |
| 14 | + |
| 15 | + - type: dropdown |
| 16 | + id: bug-type |
| 17 | + attributes: |
| 18 | + label: Type of Bug |
| 19 | + description: What kind of bug are you running into? |
| 20 | + multiple: false |
| 21 | + options: |
| 22 | + - Silent Failure |
| 23 | + - Runtime Error |
| 24 | + - Compile-time Error |
| 25 | + - Performance |
| 26 | + - Something else |
| 27 | + validations: |
| 28 | + required: true |
| 29 | + |
| 30 | + - type: dropdown |
| 31 | + id: component |
| 32 | + attributes: |
| 33 | + label: Component |
| 34 | + description: Which CCCL component does this apply to? |
| 35 | + multiple: false |
| 36 | + options: |
| 37 | + - Thrust |
| 38 | + - CUB |
| 39 | + - libcu++ |
| 40 | + - Not sure |
| 41 | + validations: |
| 42 | + required: true |
| 43 | + |
| 44 | + - type: textarea |
| 45 | + id: description |
| 46 | + attributes: |
| 47 | + label: Describe the bug |
| 48 | + description: A clear and concise description of what problem you are running into. |
| 49 | + placeholder: "Attempting to use structured bindings with `cuda::std::tuple` fails to compile." |
| 50 | + validations: |
| 51 | + required: true |
| 52 | + |
| 53 | + - type: textarea |
| 54 | + id: reproduction |
| 55 | + attributes: |
| 56 | + label: How to Reproduce |
| 57 | + description: Steps used to reproduce the bug. |
| 58 | + placeholder: | |
| 59 | + 0. See godbolt link below for exact reproducer |
| 60 | + 1. Construct a `cuda::std::tuple` |
| 61 | + 2. Use structured bindings to destructure the elements of the tuple. |
| 62 | + 3. Compilation fails with the error message: |
| 63 | + ``` |
| 64 | +<source>(5): error: cannot bind to non-public member "cuda::std::__4::tuple<_Tp...>::__base_ [with _Tp=<int, int>]" |
| 65 | + auto [a,b] = t; |
| 66 | + validations: |
| 67 | + required: true |
| 68 | + |
| 69 | + - type: textarea |
| 70 | + id: expected-behavior |
| 71 | + attributes: |
| 72 | + label: Expected behavior |
| 73 | + description: A clear and concise description of what you expected to happen. |
| 74 | + placeholder: "Using structured bindings with `cuda::std::tuple` should successfully compile and destructure the elements of the tuple." |
| 75 | + validations: |
| 76 | + required: true |
| 77 | + |
| 78 | + - type: input |
| 79 | + id: reproduction-link |
| 80 | + attributes: |
| 81 | + label: Reproduction link |
| 82 | + description: If applicable, please provide a Compiler Explorer (godbolt) link to help explain your problem. |
| 83 | + placeholder: https://godbolt.org/z/dT5nMcf7W |
| 84 | + validations: |
| 85 | + required: false |
| 86 | + |
| 87 | + - type: markdown |
| 88 | + attributes: |
| 89 | + value: '# System information' |
| 90 | + |
| 91 | + - type: input |
| 92 | + id: operating-system |
| 93 | + attributes: |
| 94 | + label: Operating System |
| 95 | + description: |
| 96 | + If applicable, the OS version where this bug occurs. |
| 97 | + placeholder: Ubuntu Linux 20.04 |
| 98 | + validations: |
| 99 | + required: false |
| 100 | + |
| 101 | + - type: textarea |
| 102 | + id: nvidia-smi-output |
| 103 | + attributes: |
| 104 | + label: nvidia-smi output |
| 105 | + description: If applicable, the output from running the `nvidia-smi` command. |
| 106 | + placeholder: | |
| 107 | + +-----------------------------------------------------------------------------+ |
| 108 | + | NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 | |
| 109 | + |-------------------------------+----------------------+----------------------+ |
| 110 | + | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | |
| 111 | + | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |
| 112 | + | | | MIG M. | |
| 113 | + |===============================+======================+======================| |
| 114 | + | 0 NVIDIA GeForce ... Off | 00000000:41:00.0 On | N/A | |
| 115 | + | 0% 25C P8 8W / 320W | 491MiB / 10015MiB | 0% Default | |
| 116 | + | | | N/A | |
| 117 | + +-------------------------------+----------------------+----------------------+ |
| 118 | + validations: |
| 119 | + required: false |
| 120 | + |
| 121 | + - type: textarea |
| 122 | + id: nvcc-version |
| 123 | + attributes: |
| 124 | + label: NVCC version |
| 125 | + description: If applicable, the version of nvcc you're using. |
| 126 | + placeholder: | |
| 127 | + nvcc --version |
| 128 | + nvcc: NVIDIA (R) Cuda compiler driver |
| 129 | + Copyright (c) 2005-2021 NVIDIA Corporation |
| 130 | + Built on Thu_Nov_18_09:45:30_PST_2021 |
| 131 | + Cuda compilation tools, release 11.5, V11.5.119 |
| 132 | + Build cuda_11.5.r11.5/compiler.30672275_0 |
| 133 | + validations: |
| 134 | + required: false |
0 commit comments