NVIDIA / cccl

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

Try to fix a clang warning: #2941

Closed bernhardmgruber closed 2 days ago

bernhardmgruber commented 3 days ago

agent_histogram.cuh:827:37: warning: comparison of different enumeration types

github-actions[bot] commented 3 days ago
🟩 CI finished in 1h 45m: Pass: 100%/224 | Total: 1d 05h | Avg: 7m 48s | Max: 37m 01s | Hits: 98%/12288
  • 🟩 thrust: Pass: 100%/111 | Total: 12h 58m | Avg: 7m 00s | Max: 37m 01s | Hits: 99%/9260

    ``` 🟩 cmake_options 🟩 -DTHRUST_DISPATCH_TYPE=Force32bit Pass: 100%/2 | Total: 21m 23s | Avg: 10m 41s | Max: 15m 37s 🟩 cpu 🟩 amd64 Pass: 100%/103 | Total: 12h 19m | Avg: 7m 10s | Max: 37m 01s | Hits: 99%/9260 🟩 arm64 Pass: 100%/8 | Total: 38m 56s | Avg: 4m 52s | Max: 5m 45s 🟩 ctk 🟩 11.1 Pass: 100%/15 | Total: 1h 20m | Avg: 5m 23s | Max: 17m 45s | Hits: 99%/1852 🟩 11.8 Pass: 100%/3 | Total: 16m 22s | Avg: 5m 27s | Max: 5m 46s 🟩 12.5 Pass: 100%/4 | Total: 1h 02m | Avg: 15m 41s | Max: 16m 52s 🟩 12.6 Pass: 100%/89 | Total: 10h 18m | Avg: 6m 56s | Max: 37m 01s | Hits: 99%/7408 🟩 cudacxx 🟩 ClangCUDA18 Pass: 100%/4 | Total: 19m 12s | Avg: 4m 48s | Max: 5m 12s 🟩 nvcc11.1 Pass: 100%/15 | Total: 1h 20m | Avg: 5m 23s | Max: 17m 45s | Hits: 99%/1852 🟩 nvcc11.8 Pass: 100%/3 | Total: 16m 22s | Avg: 5m 27s | Max: 5m 46s 🟩 nvcc12.5 Pass: 100%/4 | Total: 1h 02m | Avg: 15m 41s | Max: 16m 52s 🟩 nvcc12.6 Pass: 100%/85 | Total: 9h 58m | Avg: 7m 02s | Max: 37m 01s | Hits: 99%/7408 🟩 cudacxx_family 🟩 ClangCUDA Pass: 100%/4 | Total: 19m 12s | Avg: 4m 48s | Max: 5m 12s 🟩 nvcc Pass: 100%/107 | Total: 12h 38m | Avg: 7m 05s | Max: 37m 01s | Hits: 99%/9260 🟩 cxx 🟩 Clang9 Pass: 100%/6 | Total: 32m 30s | Avg: 5m 25s | Max: 6m 20s 🟩 Clang10 Pass: 100%/3 | Total: 18m 46s | Avg: 6m 15s | Max: 6m 55s 🟩 Clang11 Pass: 100%/4 | Total: 20m 26s | Avg: 5m 06s | Max: 5m 31s 🟩 Clang12 Pass: 100%/4 | Total: 20m 06s | Avg: 5m 01s | Max: 5m 14s 🟩 Clang13 Pass: 100%/4 | Total: 21m 37s | Avg: 5m 24s | Max: 5m 49s 🟩 Clang14 Pass: 100%/4 | Total: 22m 28s | Avg: 5m 37s | Max: 6m 19s 🟩 Clang15 Pass: 100%/4 | Total: 20m 42s | Avg: 5m 10s | Max: 5m 32s 🟩 Clang16 Pass: 100%/4 | Total: 20m 56s | Avg: 5m 14s | Max: 5m 28s 🟩 Clang17 Pass: 100%/4 | Total: 22m 57s | Avg: 5m 44s | Max: 6m 04s 🟩 Clang18 Pass: 100%/11 | Total: 1h 08m | Avg: 6m 13s | Max: 18m 00s 🟩 GCC6 Pass: 100%/2 | Total: 8m 17s | Avg: 4m 08s | Max: 4m 27s 🟩 GCC7 Pass: 100%/6 | Total: 28m 05s | Avg: 4m 40s | Max: 5m 35s 🟩 GCC8 Pass: 100%/6 | Total: 36m 20s | Avg: 6m 03s | Max: 13m 03s 🟩 GCC9 Pass: 100%/6 | Total: 1h 01m | Avg: 10m 17s | Max: 37m 01s 🟩 GCC10 Pass: 100%/4 | Total: 20m 59s | Avg: 5m 14s | Max: 5m 39s 🟩 GCC11 Pass: 100%/7 | Total: 38m 31s | Avg: 5m 30s | Max: 5m 54s 🟩 GCC12 Pass: 100%/4 | Total: 22m 44s | Avg: 5m 41s | Max: 6m 13s 🟩 GCC13 Pass: 100%/16 | Total: 1h 57m | Avg: 7m 21s | Max: 16m 36s 🟩 Intel2023.2.0 Pass: 100%/3 | Total: 20m 35s | Avg: 6m 51s | Max: 7m 10s 🟩 MSVC14.16 Pass: 100%/1 | Total: 17m 45s | Avg: 17m 45s | Max: 17m 45s | Hits: 99%/1852 🟩 MSVC14.29 Pass: 100%/2 | Total: 33m 24s | Avg: 16m 42s | Max: 16m 50s | Hits: 99%/3704 🟩 MSVC14.39 Pass: 100%/2 | Total: 40m 14s | Avg: 20m 07s | Max: 24m 58s | Hits: 99%/3704 🟩 NVHPC24.7 Pass: 100%/4 | Total: 1h 02m | Avg: 15m 41s | Max: 16m 52s 🟩 cxx_family 🟩 Clang Pass: 100%/48 | Total: 4h 29m | Avg: 5m 36s | Max: 18m 00s 🟩 GCC Pass: 100%/51 | Total: 5h 34m | Avg: 6m 33s | Max: 37m 01s 🟩 Intel Pass: 100%/3 | Total: 20m 35s | Avg: 6m 51s | Max: 7m 10s 🟩 MSVC Pass: 100%/5 | Total: 1h 31m | Avg: 18m 16s | Max: 24m 58s | Hits: 99%/9260 🟩 NVHPC Pass: 100%/4 | Total: 1h 02m | Avg: 15m 41s | Max: 16m 52s 🟩 gpu 🟩 v100 Pass: 100%/111 | Total: 12h 58m | Avg: 7m 00s | Max: 37m 01s | Hits: 99%/9260 🟩 jobs 🟩 Build Pass: 100%/103 | Total: 11h 05m | Avg: 6m 27s | Max: 37m 01s | Hits: 99%/7408 🟩 TestCPU Pass: 100%/4 | Total: 46m 59s | Avg: 11m 44s | Max: 24m 58s | Hits: 99%/1852 🟩 TestGPU Pass: 100%/4 | Total: 1h 05m | Avg: 16m 28s | Max: 18m 00s 🟩 sm 🟩 60;70;80;90 Pass: 100%/3 | Total: 16m 22s | Avg: 5m 27s | Max: 5m 46s 🟩 90a Pass: 100%/4 | Total: 17m 32s | Avg: 4m 23s | Max: 4m 52s 🟩 std 🟩 11 Pass: 100%/30 | Total: 2h 46m | Avg: 5m 32s | Max: 15m 41s 🟩 14 Pass: 100%/29 | Total: 3h 44m | Avg: 7m 44s | Max: 37m 01s | Hits: 99%/3704 🟩 17 Pass: 100%/27 | Total: 2h 51m | Avg: 6m 20s | Max: 16m 34s | Hits: 99%/1852 🟩 20 Pass: 100%/23 | Total: 3h 14m | Avg: 8m 27s | Max: 24m 58s | Hits: 99%/3704 ```
  • 🟩 cub: Pass: 100%/110 | Total: 15h 46m | Avg: 8m 36s | Max: 34m 16s | Hits: 96%/3028

    ``` 🟩 cpu 🟩 amd64 Pass: 100%/102 | Total: 14h 50m | Avg: 8m 43s | Max: 34m 16s | Hits: 96%/3028 🟩 arm64 Pass: 100%/8 | Total: 56m 29s | Avg: 7m 03s | Max: 8m 15s 🟩 ctk 🟩 11.1 Pass: 100%/15 | Total: 1h 44m | Avg: 6m 57s | Max: 17m 39s | Hits: 96%/757 🟩 11.8 Pass: 100%/3 | Total: 25m 27s | Avg: 8m 29s | Max: 9m 29s 🟩 12.5 Pass: 100%/4 | Total: 47m 26s | Avg: 11m 51s | Max: 12m 31s 🟩 12.6 Pass: 100%/88 | Total: 12h 49m | Avg: 8m 44s | Max: 34m 16s | Hits: 96%/2271 🟩 cudacxx 🟩 ClangCUDA18 Pass: 100%/4 | Total: 22m 02s | Avg: 5m 30s | Max: 5m 53s 🟩 nvcc11.1 Pass: 100%/15 | Total: 1h 44m | Avg: 6m 57s | Max: 17m 39s | Hits: 96%/757 🟩 nvcc11.8 Pass: 100%/3 | Total: 25m 27s | Avg: 8m 29s | Max: 9m 29s 🟩 nvcc12.5 Pass: 100%/4 | Total: 47m 26s | Avg: 11m 51s | Max: 12m 31s 🟩 nvcc12.6 Pass: 100%/84 | Total: 12h 27m | Avg: 8m 53s | Max: 34m 16s | Hits: 96%/2271 🟩 cudacxx_family 🟩 ClangCUDA Pass: 100%/4 | Total: 22m 02s | Avg: 5m 30s | Max: 5m 53s 🟩 nvcc Pass: 100%/106 | Total: 15h 24m | Avg: 8m 43s | Max: 34m 16s | Hits: 96%/3028 🟩 cxx 🟩 Clang9 Pass: 100%/6 | Total: 41m 31s | Avg: 6m 55s | Max: 8m 03s 🟩 Clang10 Pass: 100%/3 | Total: 23m 20s | Avg: 7m 46s | Max: 8m 39s 🟩 Clang11 Pass: 100%/4 | Total: 26m 33s | Avg: 6m 38s | Max: 7m 08s 🟩 Clang12 Pass: 100%/4 | Total: 27m 00s | Avg: 6m 45s | Max: 7m 02s 🟩 Clang13 Pass: 100%/4 | Total: 28m 08s | Avg: 7m 02s | Max: 7m 24s 🟩 Clang14 Pass: 100%/4 | Total: 27m 03s | Avg: 6m 45s | Max: 7m 03s 🟩 Clang15 Pass: 100%/4 | Total: 28m 18s | Avg: 7m 04s | Max: 7m 43s 🟩 Clang16 Pass: 100%/4 | Total: 27m 53s | Avg: 6m 58s | Max: 7m 34s 🟩 Clang17 Pass: 100%/4 | Total: 26m 25s | Avg: 6m 36s | Max: 7m 02s 🟩 Clang18 Pass: 100%/11 | Total: 1h 45m | Avg: 9m 32s | Max: 25m 37s 🟩 GCC6 Pass: 100%/2 | Total: 12m 28s | Avg: 6m 14s | Max: 6m 22s 🟩 GCC7 Pass: 100%/6 | Total: 38m 51s | Avg: 6m 28s | Max: 7m 15s 🟩 GCC8 Pass: 100%/6 | Total: 39m 22s | Avg: 6m 33s | Max: 7m 19s 🟩 GCC9 Pass: 100%/6 | Total: 40m 28s | Avg: 6m 44s | Max: 7m 32s 🟩 GCC10 Pass: 100%/4 | Total: 28m 39s | Avg: 7m 09s | Max: 7m 56s 🟩 GCC11 Pass: 100%/7 | Total: 53m 34s | Avg: 7m 39s | Max: 9m 29s 🟩 GCC12 Pass: 100%/4 | Total: 29m 22s | Avg: 7m 20s | Max: 7m 38s 🟩 GCC13 Pass: 100%/16 | Total: 3h 28m | Avg: 13m 00s | Max: 34m 16s 🟩 Intel2023.2.0 Pass: 100%/3 | Total: 25m 30s | Avg: 8m 30s | Max: 9m 29s 🟩 MSVC14.16 Pass: 100%/1 | Total: 17m 39s | Avg: 17m 39s | Max: 17m 39s | Hits: 96%/757 🟩 MSVC14.29 Pass: 100%/2 | Total: 28m 41s | Avg: 14m 20s | Max: 14m 56s | Hits: 96%/1514 🟩 MSVC14.39 Pass: 100%/1 | Total: 15m 27s | Avg: 15m 27s | Max: 15m 27s | Hits: 96%/757 🟩 NVHPC24.7 Pass: 100%/4 | Total: 47m 26s | Avg: 11m 51s | Max: 12m 31s 🟩 cxx_family 🟩 Clang Pass: 100%/48 | Total: 6h 01m | Avg: 7m 31s | Max: 25m 37s 🟩 GCC Pass: 100%/51 | Total: 7h 30m | Avg: 8m 50s | Max: 34m 16s 🟩 Intel Pass: 100%/3 | Total: 25m 30s | Avg: 8m 30s | Max: 9m 29s 🟩 MSVC Pass: 100%/4 | Total: 1h 01m | Avg: 15m 26s | Max: 17m 39s | Hits: 96%/3028 🟩 NVHPC Pass: 100%/4 | Total: 47m 26s | Avg: 11m 51s | Max: 12m 31s 🟩 gpu 🟩 v100 Pass: 100%/110 | Total: 15h 46m | Avg: 8m 36s | Max: 34m 16s | Hits: 96%/3028 🟩 jobs 🟩 Build Pass: 100%/102 | Total: 12h 32m | Avg: 7m 22s | Max: 17m 39s | Hits: 96%/3028 🟩 DeviceLaunch Pass: 100%/1 | Total: 21m 18s | Avg: 21m 18s | Max: 21m 18s 🟩 GraphCapture Pass: 100%/1 | Total: 21m 01s | Avg: 21m 01s | Max: 21m 01s 🟩 HostLaunch Pass: 100%/3 | Total: 1h 06m | Avg: 22m 11s | Max: 25m 37s 🟩 TestGPU Pass: 100%/3 | Total: 1h 25m | Avg: 28m 32s | Max: 34m 16s 🟩 sm 🟩 60;70;80;90 Pass: 100%/3 | Total: 25m 27s | Avg: 8m 29s | Max: 9m 29s 🟩 90a Pass: 100%/4 | Total: 19m 18s | Avg: 4m 49s | Max: 4m 59s 🟩 std 🟩 11 Pass: 100%/30 | Total: 4h 07m | Avg: 8m 14s | Max: 27m 38s 🟩 14 Pass: 100%/29 | Total: 3h 54m | Avg: 8m 04s | Max: 17m 39s | Hits: 96%/1514 🟩 17 Pass: 100%/27 | Total: 3h 08m | Avg: 6m 57s | Max: 13m 45s | Hits: 96%/757 🟩 20 Pass: 100%/24 | Total: 4h 37m | Avg: 11m 32s | Max: 34m 16s | Hits: 96%/757 ```
  • 🟩 cccl_c_parallel: Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s

    ``` 🟩 cpu 🟩 amd64 Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 ctk 🟩 12.6 Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 cudacxx 🟩 nvcc12.6 Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 cudacxx_family 🟩 nvcc Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 cxx 🟩 GCC13 Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 cxx_family 🟩 GCC Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 gpu 🟩 v100 Pass: 100%/2 | Total: 9m 46s | Avg: 4m 53s | Max: 7m 47s 🟩 jobs 🟩 Build Pass: 100%/1 | Total: 1m 59s | Avg: 1m 59s | Max: 1m 59s 🟩 Test Pass: 100%/1 | Total: 7m 47s | Avg: 7m 47s | Max: 7m 47s ```
  • 🟩 python: Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s

    ``` 🟩 cpu 🟩 amd64 Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 ctk 🟩 12.6 Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 cudacxx 🟩 nvcc12.6 Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 cudacxx_family 🟩 nvcc Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 cxx 🟩 GCC13 Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 cxx_family 🟩 GCC Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 gpu 🟩 v100 Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s 🟩 jobs 🟩 Test Pass: 100%/1 | Total: 15m 39s | Avg: 15m 39s | Max: 15m 39s ```

👃 Inspect Changes

### Modifications in project? | | Project |-----|--------- | | CCCL Infrastructure | | libcu++ | +/- | CUB | | Thrust | | CUDA Experimental | | python | | CCCL C Parallel Library | | Catch2Helper ### Modifications in project or dependencies? | | Project |-----|--------- | | CCCL Infrastructure | | libcu++ | +/- | CUB | +/- | Thrust | | CUDA Experimental | +/- | python | +/- | CCCL C Parallel Library | +/- | Catch2Helper

🏃‍ Runner counts (total jobs: 224)

| # | Runner |------|------ | 185 | `linux-amd64-cpu16` | 16 | `linux-arm64-cpu16` | 14 | `linux-amd64-gpu-v100-latest-1` | 9 | `windows-amd64-cpu16`