Skip to content

Adds support for large number of items to DeviceTransform - #3172

Merged
elstehle merged 7 commits into
NVIDIA:mainfrom
elstehle:enh/large-num-items-transform
Dec 20, 2024
Merged

elstehle merged 7 commits into
NVIDIA:mainfrom
elstehle:enh/large-num-items-transform

Conversation

@elstehle

@elstehle elstehle commented Dec 15, 2024 •

Copy link
Copy Markdown
Contributor

Description

Closes #2714

Summary of GPU Time Comparison (I64 vs I32) on H100

Detailed benchmark results
Benchmark T{ct} OffsetT{ct} Elements{io} Samples CPU Time Noise GPU Time Noise Elem/s GlobalMem BW BWUtil GPU Time Comparison (I64 vs I32)
mul I8 I32 2^16 = 65536 87648x 11.768 us 106.64% 5.705 us 1.88% 11.487G 22.974 GB/s 1.13% N/A
mul I8 I64 2^16 = 65536 86096x 11.924 us 105.54% 5.808 us 2.21% 11.283G 22.566 GB/s 1.11% 1.018x
mul I8 I32 2^20 = 1048576 75488x 12.668 us 91.50% 6.624 us 2.06% 158.304G 316.609 GB/s 15.53% N/A
mul I8 I64 2^20 = 1048576 75680x 12.697 us 92.38% 6.608 us 1.80% 158.681G 317.363 GB/s 15.56% 0.998x
mul I8 I32 2^24 = 16777216 20976x 29.961 us 25.71% 23.855 us 1.52% 703.312G 1.407 TB/s 68.98% N/A
mul I8 I64 2^24 = 16777216 20944x 29.914 us 25.39% 23.874 us 1.54% 702.735G 1.405 TB/s 68.93% 1.001x
mul I8 I32 2^28 = 268435456 1694x 301.340 us 2.09% 295.224 us 0.25% 909.259G 1.819 TB/s 89.19% N/A
mul I8 I64 2^28 = 268435456 1694x 301.433 us 2.08% 295.333 us 0.23% 908.925G 1.818 TB/s 89.15% 1.000x
mul I16 I32 2^16 = 65536 94208x 11.491 us 116.83% 5.308 us 2.26% 12.346G 49.385 GB/s 2.42% N/A
mul I16 I64 2^16 = 65536 92832x 11.549 us 114.69% 5.387 us 2.44% 12.166G 48.665 GB/s 2.39% 1.015x
mul I16 I32 2^20 = 1048576 62896x 14.119 us 77.82% 7.950 us 2.25% 131.891G 527.565 GB/s 25.87% N/A
mul I16 I64 2^20 = 1048576 65856x 13.726 us 80.98% 7.594 us 2.31% 138.086G 552.344 GB/s 27.09% 0.955x
mul I16 I32 2^24 = 16777216 11904x 48.126 us 14.48% 42.057 us 0.83% 398.913G 1.596 TB/s 78.25% N/A
mul I16 I64 2^24 = 16777216 11904x 48.084 us 14.47% 42.027 us 0.84% 399.197G 1.597 TB/s 78.31% 1.001x
mul I16 I32 2^28 = 268435456 857x 589.810 us 1.06% 583.712 us 0.17% 459.877G 1.840 TB/s 90.21% N/A
mul I16 I64 2^28 = 268435456 857x 589.573 us 1.05% 583.539 us 0.17% 460.013G 1.840 TB/s 90.24% 1.000x
mul F32 I32 2^16 = 65536 97744x 11.287 us 121.08% 5.116 us 2.40% 12.811G 102.486 GB/s 5.03% N/A
mul F32 I64 2^16 = 65536 96752x 11.251 us 118.04% 5.168 us 2.31% 12.680G 101.439 GB/s 4.97% 1.010x
mul F32 I32 2^20 = 1048576 52624x 15.615 us 64.53% 9.503 us 1.91% 110.347G 882.778 GB/s 43.29% N/A
mul F32 I64 2^20 = 1048576 52128x 15.670 us 63.53% 9.594 us 1.84% 109.298G 874.380 GB/s 42.88% 1.010x
mul F32 I32 2^24 = 16777216 6460x 83.471 us 7.88% 77.400 us 0.50% 216.761G 1.734 TB/s 85.04% N/A
mul F32 I64 2^24 = 16777216 6464x 83.488 us 7.85% 77.440 us 0.51% 216.649G 1.733 TB/s 85.00% 1.001x
mul F32 I32 2^28 = 268435456 430x 1.170 ms 0.54% 1.164 ms 0.10% 230.556G 1.844 TB/s 90.46% N/A
mul F32 I64 2^28 = 268435456 430x 1.171 ms 0.54% 1.164 ms 0.10% 230.548G 1.844 TB/s 90.45% 1.000x
mul F64 I32 2^16 = 65536 95328x 11.290 us 115.59% 5.245 us 2.25% 12.494G 199.909 GB/s 9.80% N/A
mul F64 I64 2^16 = 65536 94096x 11.371 us 114.29% 5.314 us 2.31% 12.332G 197.306 GB/s 9.68% 1.013x
mul F64 I32 2^20 = 1048576 36464x 19.806 us 44.54% 13.718 us 2.24% 76.437G 1.223 TB/s 59.98% N/A
mul F64 I64 2^20 = 1048576 36336x 19.819 us 44.18% 13.763 us 2.22% 76.190G 1.219 TB/s 59.78% 1.003x
mul F64 I32 2^24 = 16777216 3302x 157.541 us 4.04% 151.467 us 0.44% 110.765G 1.772 TB/s 86.92% N/A
mul F64 I64 2^24 = 16777216 3294x 157.845 us 4.01% 151.801 us 0.45% 110.521G 1.768 TB/s 86.72% 1.002x
mul F64 I32 2^28 = 268435456 216x 2.326 ms 0.28% 2.320 ms 0.07% 115.720G 1.852 TB/s 90.80% N/A
mul F64 I64 2^28 = 268435456 216x 2.326 ms 0.28% 2.320 ms 0.07% 115.712G 1.851 TB/s 90.80% 1.000x
mul I128 I32 2^16 = 65536 85520x 11.971 us 105.01% 5.847 us 2.10% 11.208G 358.643 GB/s 17.59% N/A
mul I128 I64 2^16 = 65536 83968x 12.046 us 102.54% 5.956 us 2.39% 11.004G 352.124 GB/s 17.27% 1.019x
mul I128 I32 2^20 = 1048576 21680x 29.208 us 26.75% 23.063 us 1.69% 45.466G 1.455 TB/s 71.35% N/A
mul I128 I64 2^20 = 1048576 21664x 29.219 us 26.69% 23.086 us 1.71% 45.421G 1.453 TB/s 71.28% 1.001x
mul I128 I32 2^24 = 16777216 1684x 303.211 us 2.09% 297.085 us 0.30% 56.473G 1.807 TB/s 88.63% N/A
mul I128 I64 2^24 = 16777216 1684x 303.233 us 2.10% 297.062 us 0.30% 56.477G 1.807 TB/s 88.63% 1.000x
mul I128 I32 2^28 = 268435456 108x 4.644 ms 0.17% 4.637 ms 0.10% 57.888G 1.852 TB/s 90.85% N/A
mul I128 I64 2^28 = 268435456 108x 4.645 ms 0.21% 4.638 ms 0.15% 57.873G 1.852 TB/s 90.82% 1.000x
Benchmark T{ct} OffsetT{ct} Elements{io} Samples CPU Time Noise GPU Time Noise Elem/s GlobalMem BW BWUtil GPU Time Comparison (I64 vs I32)
add I8 I32 2^16 = 65536 95824x 11.452 us 119.69% 5.218 us 2.05% 12.558G 37.675 GB/s 1.85% N/A
add I8 I64 2^16 = 65536 92704x 11.712 us 117.47% 5.394 us 2.05% 12.150G 36.449 GB/s 1.79% 1.034x
add I8 I32 2^20 = 1048576 66928x 13.834 us 85.40% 7.471 us 2.41% 140.349G 421.046 GB/s 20.65% N/A
add I8 I64 2^20 = 1048576 66944x 13.726 us 84.01% 7.470 us 1.92% 140.374G 421.121 GB/s 20.65% 0.999x
add I8 I32 2^24 = 16777216 14576x 40.711 us 18.72% 34.310 us 0.80% 488.985G 1.467 TB/s 71.94% N/A
add I8 I64 2^24 = 16777216 14640x 40.361 us 18.25% 34.155 us 0.77% 491.214G 1.474 TB/s 72.27% 0.995x
add I8 I32 2^28 = 268435456 1164x 435.894 us 1.49% 429.597 us 0.25% 624.855G 1.875 TB/s 91.93% N/A
add I8 I64 2^28 = 268435456 1163x 436.353 us 1.51% 429.987 us 0.25% 624.288G 1.873 TB/s 91.85% 1.001x
add I16 I32 2^16 = 65536 95968x 11.548 us 121.92% 5.211 us 2.32% 12.577G 75.464 GB/s 3.70% N/A
add I16 I64 2^16 = 65536 95360x 11.551 us 120.55% 5.244 us 2.46% 12.497G 74.982 GB/s 3.68% 1.006x
add I16 I32 2^20 = 1048576 53728x 15.630 us 68.14% 9.308 us 1.75% 112.652G 675.912 GB/s 33.15% N/A
add I16 I64 2^20 = 1048576 54224x 15.546 us 68.78% 9.221 us 1.77% 113.712G 682.270 GB/s 33.46% 0.991x
add I16 I32 2^24 = 16777216 8244x 66.946 us 10.42% 60.650 us 0.43% 276.623G 1.660 TB/s 81.40% N/A
add I16 I64 2^24 = 16777216 8243x 66.929 us 10.38% 60.658 us 0.42% 276.587G 1.660 TB/s 81.39% 1.000x
add I16 I32 2^28 = 268435456 587x 858.192 us 0.75% 851.958 us 0.13% 315.081G 1.890 TB/s 92.71% N/A
add I16 I64 2^28 = 268435456 587x 858.207 us 0.74% 852.003 us 0.14% 315.064G 1.890 TB/s 92.71% 1.000x
add F32 I32 2^16 = 65536 92432x 11.818 us 118.69% 5.410 us 2.20% 12.114G 145.370 GB/s 7.13% N/A
add F32 I64 2^16 = 65536 91968x 11.844 us 118.10% 5.438 us 2.39% 12.053G 144.630 GB/s 7.09% 1.005x
add F32 I32 2^20 = 1048576 40464x 18.649 us 51.04% 12.359 us 1.45% 84.843G 1.018 TB/s 49.93% N/A
add F32 I64 2^20 = 1048576 40160x 18.847 us 51.53% 12.452 us 1.43% 84.209G 1.011 TB/s 49.56% 1.008x
add F32 I32 2^24 = 16777216 4338x 121.474 us 5.42% 115.266 us 0.48% 145.553G 1.747 TB/s 85.66% N/A
add F32 I64 2^24 = 16777216 4337x 121.683 us 5.57% 115.304 us 0.48% 145.504G 1.746 TB/s 85.63% 1.000x
add F32 I32 2^28 = 268435456 295x 1.702 ms 0.40% 1.696 ms 0.09% 158.280G 1.899 TB/s 93.15% N/A
add F32 I64 2^28 = 268435456 295x 1.702 ms 0.38% 1.696 ms 0.10% 158.280G 1.899 TB/s 93.15% 1.000x
add F64 I32 2^16 = 65536 85632x 12.291 us 110.74% 5.840 us 2.01% 11.222G 269.333 GB/s 13.21% N/A
add F64 I64 2^16 = 65536 84688x 12.296 us 108.49% 5.904 us 2.09% 11.100G 266.394 GB/s 13.06% 1.011x
add F64 I32 2^20 = 1048576 26048x 25.521 us 33.05% 19.200 us 1.46% 54.613G 1.311 TB/s 64.28% N/A
add F64 I64 2^20 = 1048576 25952x 25.705 us 33.50% 19.274 us 1.45% 54.402G 1.306 TB/s 64.03% 1.004x
add F64 I32 2^24 = 16777216 2277x 225.846 us 2.86% 219.614 us 0.23% 76.394G 1.833 TB/s 89.92% N/A
add F64 I64 2^24 = 16777216 2277x 226.010 us 2.93% 219.623 us 0.23% 76.391G 1.833 TB/s 89.91% 1.000x
add F64 I32 2^28 = 268435456 148x 3.392 ms 0.20% 3.385 ms 0.05% 79.298G 1.903 TB/s 93.34% N/A
add F64 I64 2^28 = 268435456 148x 3.392 ms 0.20% 3.385 ms 0.05% 79.298G 1.903 TB/s 93.34% 1.000x
add I128 I32 2^16 = 65536 69696x 13.633 us 90.28% 7.174 us 2.15% 9.135G 438.482 GB/s 21.50% N/A
add I128 I64 2^16 = 65536 69408x 13.738 us 90.90% 7.205 us 2.38% 9.096G 436.586 GB/s 21.41% 1.004x
add I128 I32 2^20 = 1048576 14944x 39.797 us 19.00% 33.460 us 0.77% 31.338G 1.504 TB/s 73.77% N/A
add I128 I64 2^20 = 1048576 14944x 39.944 us 19.42% 33.466 us 0.77% 31.333G 1.504 TB/s 73.76% 1.000x
add I128 I32 2^24 = 16777216 1163x 436.389 us 1.49% 430.077 us 0.24% 39.010G 1.872 TB/s 91.83% N/A
add I128 I64 2^24 = 16777216 1163x 436.509 us 1.51% 430.117 us 0.25% 39.006G 1.872 TB/s 91.82% 1.000x
add I128 I32 2^28 = 268435456 74x 6.767 ms 0.11% 6.761 ms 0.04% 39.705G 1.906 TB/s 93.47% N/A
add I128 I64 2^28 = 268435456 74x 6.768 ms 0.11% 6.762 ms 0.05% 39.700G 1.906 TB/s 93.45% 1.000x
Benchmark T{ct} OffsetT{ct} Elements{io} Samples CPU Time Noise GPU Time Noise Elem/s GlobalMem BW BWUtil GPU Time Comparison (I64 vs I32)
triad I8 I32 2^16 = 65536 90288x 12.037 us 117.63% 5.539 us 2.03% 11.832G 35.497 GB/s 1.74% N/A
triad I8 I64 2^16 = 65536 89584x 12.005 us 115.34% 5.582 us 2.24% 11.742G 35.225 GB/s 1.73% 1.008x
triad I8 I32 2^20 = 1048576 66688x 13.918 us 85.84% 7.499 us 2.19% 139.833G 419.498 GB/s 20.57% N/A
triad I8 I64 2^20 = 1048576 66000x 14.025 us 85.34% 7.576 us 2.12% 138.403G 415.210 GB/s 20.36% 1.010x
triad I8 I32 2^24 = 16777216 14912x 40.045 us 19.40% 33.565 us 1.06% 499.849G 1.500 TB/s 73.54% N/A
triad I8 I64 2^24 = 16777216 14832x 40.180 us 19.17% 33.740 us 0.98% 497.255G 1.492 TB/s 73.16% 1.005x
triad I8 I32 2^28 = 268435456 1163x 436.369 us 1.52% 429.940 us 0.24% 624.355G 1.873 TB/s 91.86% N/A
triad I8 I64 2^28 = 268435456 1164x 436.148 us 1.50% 429.792 us 0.25% 624.570G 1.874 TB/s 91.89% 1.000x
triad I16 I32 2^16 = 65536 94192x 11.809 us 122.75% 5.309 us 2.35% 12.344G 74.064 GB/s 3.63% N/A
triad I16 I64 2^16 = 65536 94128x 11.764 us 121.77% 5.312 us 2.27% 12.337G 74.020 GB/s 3.63% 1.001x
triad I16 I32 2^20 = 1048576 54320x 15.618 us 69.87% 9.206 us 1.81% 113.903G 683.419 GB/s 33.52% N/A
triad I16 I64 2^20 = 1048576 54608x 15.656 us 71.14% 9.157 us 1.83% 114.507G 687.043 GB/s 33.69% 0.995x
triad I16 I32 2^24 = 16777216 8244x 66.963 us 10.45% 60.656 us 0.44% 276.598G 1.660 TB/s 81.39% N/A
triad I16 I64 2^24 = 16777216 8235x 67.216 us 10.74% 60.723 us 0.44% 276.292G 1.658 TB/s 81.30% 1.001x
triad I16 I32 2^28 = 268435456 587x 858.751 us 0.78% 852.224 us 0.15% 314.982G 1.890 TB/s 92.69% N/A
triad I16 I64 2^28 = 268435456 587x 858.490 us 0.76% 852.169 us 0.14% 315.003G 1.890 TB/s 92.69% 1.000x
triad F32 I32 2^16 = 65536 92464x 11.808 us 118.65% 5.408 us 2.39% 12.119G 145.430 GB/s 7.13% N/A
triad F32 I64 2^16 = 65536 93824x 11.682 us 119.55% 5.329 us 2.27% 12.297G 147.568 GB/s 7.24% 0.985x
triad F32 I32 2^20 = 1048576 39552x 19.000 us 50.41% 12.645 us 1.52% 82.925G 995.097 GB/s 48.80% N/A
triad F32 I64 2^20 = 1048576 39328x 19.077 us 50.17% 12.715 us 1.51% 82.467G 989.608 GB/s 48.53% 1.006x
triad F32 I32 2^24 = 16777216 4348x 121.194 us 5.43% 114.998 us 0.47% 145.892G 1.751 TB/s 85.86% N/A
triad F32 I64 2^24 = 16777216 4348x 121.276 us 5.48% 115.017 us 0.48% 145.867G 1.750 TB/s 85.84% 1.002x
triad F32 I32 2^28 = 268435456 295x 1.703 ms 0.39% 1.696 ms 0.09% 158.230G 1.899 TB/s 93.12% N/A
triad F32 I64 2^28 = 268435456 295x 1.703 ms 0.39% 1.696 ms 0.09% 158.231G 1.899 TB/s 93.12% 1.000x
triad F64 I32 2^16 = 65536 85744x 12.252 us 110.35% 5.832 us 2.34% 11.238G 269.711 GB/s 13.23% N/A
triad F64 I64 2^16 = 65536 86176x 12.134 us 109.42% 5.803 us 2.09% 11.294G 271.059 GB/s 13.29% 0.995x
triad F64 I32 2^20 = 1048576 25552x 25.922 us 32.54% 19.576 us 1.31% 53.563G 1.286 TB/s 63.05% N/A
triad F64 I64 2^20 = 1048576 25440x 26.056 us 32.61% 19.665 us 1.29% 53.321G 1.280 TB/s 62.76% 1.005x
triad F64 I32 2^24 = 16777216 2275x 226.110 us 2.89% 219.796 us 0.23% 76.331G 1.832 TB/s 89.84% N/A
triad F64 I64 2^24 = 16777216 2275x 226.014 us 2.84% 219.799 us 0.23% 76.330G 1.832 TB/s 89.84% 1.000x
triad F64 I32 2^28 = 268435456 148x 3.393 ms 0.20% 3.386 ms 0.05% 79.277G 1.903 TB/s 93.31% N/A
triad F64 I64 2^28 = 268435456 148x 3.393 ms 0.20% 3.386 ms 0.05% 79.270G 1.902 TB/s 93.30% 1.000x
triad I128 I32 2^16 = 65536 73600x 13.076 us 92.71% 6.794 us 2.25% 9.646G 462.998 GB/s 22.71% N/A
triad I128 I64 2^16 = 65536 72656x 13.138 us 91.16% 6.883 us 2.21% 9.522G 457.058 GB/s 22.42% 1.013x
triad I128 I32 2^20 = 1048576 15232x 39.058 us 18.99% 32.849 us 0.79% 31.921G 1.532 TB/s 75.14% N/A
triad I128 I64 2^20 = 1048576 15216x 39.085 us 18.95% 32.879 us 0.79% 31.891G 1.531 TB/s 75.07% 1.001x
triad I128 I32 2^24 = 16777216 1164x 435.915 us 1.44% 429.829 us 0.24% 39.032G 1.874 TB/s 91.88% N/A
triad I128 I64 2^24 = 16777216 1164x 435.906 us 1.43% 429.855 us 0.24% 39.030G 1.873 TB/s 91.88% 1.000x
triad I128 I32 2^28 = 268435456 74x 6.768 ms 0.11% 6.762 ms 0.04% 39.699G 1.906 TB/s 93.45% N/A
triad I128 I64 2^28 = 268435456 74x 6.768 ms 0.11% 6.762 ms 0.05% 39.698G 1.906 TB/s 93.45% 1.000x
Benchmark T{ct} OffsetT{ct} Elements{io} OverwriteInput Samples CPU Time Noise GPU Time Noise Elem/s GlobalMem BW BWUtil Samples Batch GPU GPU Time Comparison (I64 vs I32)
nstream I8 I32 2^16 = 65536 1 92320x 11.779 us 117.75% 5.416 us 2.04% 12.099G 48.398 GB/s 2.37% 140833x 3.550 us N/A
nstream I8 I64 2^16 = 65536 1 88736x 11.964 us 112.73% 5.635 us 2.30% 11.630G 46.520 GB/s 2.28% 132991x 3.760 us 1.040x
nstream I8 I32 2^20 = 1048576 1 58320x 14.917 us 74.15% 8.575 us 1.59% 122.278G 489.111 GB/s 23.99% 111735x 4.476 us N/A
nstream I8 I64 2^20 = 1048576 1 58288x 15.053 us 75.73% 8.578 us 1.61% 122.235G 488.940 GB/s 23.98% 111062x 4.502 us 1.000x
nstream I8 I32 2^24 = 16777216 1 11624x 49.329 us 14.72% 43.017 us 0.47% 390.015G 1.560 TB/s 76.51% 14142x 39.915 us N/A
nstream I8 I64 2^24 = 16777216 1 11620x 49.437 us 14.94% 43.030 us 0.47% 389.900G 1.560 TB/s 76.49% 14264x 40.002 us 1.000x
nstream I8 I32 2^28 = 268435456 1 855x 591.502 us 1.10% 585.128 us 0.15% 458.763G 1.835 TB/s 90.00% 917x 581.971 us N/A
nstream I8 I64 2^28 = 268435456 1 855x 591.537 us 1.08% 585.272 us 0.14% 458.651G 1.835 TB/s 89.97% 918x 582.192 us 1.000x
nstream I16 I32 2^16 = 65536 1 90352x 11.991 us 116.95% 5.534 us 1.79% 11.842G 94.735 GB/s 4.65% 139949x 3.573 us N/A
nstream I16 I64 2^16 = 65536 1 91184x 11.949 us 118.19% 5.484 us 2.18% 11.951G 95.609 GB/s 4.69% 144287x 3.466 us 0.991x
nstream I16 I32 2^20 = 1048576 1 46080x 17.292 us 59.53% 10.852 us 1.57% 96.626G 773.012 GB/s 37.91% 95555x 5.233 us N/A
nstream I16 I64 2^20 = 1048576 1 45856x 17.356 us 59.37% 10.904 us 1.52% 96.161G 769.292 GB/s 37.73% 96658x 5.174 us 1.005x
nstream I16 I32 2^24 = 16777216 1 6400x 84.605 us 8.13% 78.299 us 0.96% 214.270G 1.714 TB/s 84.07% 6861x 77.484 us N/A
nstream I16 I64 2^24 = 16777216 1 6384x 84.712 us 8.21% 78.339 us 0.94% 214.163G 1.713 TB/s 84.02% 6844x 77.532 us 1.001x
nstream I16 I32 2^28 = 268435456 1 434x 1.160 ms 0.58% 1.153 ms 0.09% 232.782G 1.862 TB/s 91.33% 459x 1.149 ms N/A
nstream I16 I64 2^28 = 268435456 1 434x 1.160 ms 0.57% 1.154 ms 0.08% 232.613G 1.861 TB/s 91.26% 459x 1.150 ms 1.000x
nstream F32 I32 2^16 = 65536 1 88256x 12.186 us 115.40% 5.665 us 2.10% 11.568G 185.085 GB/s 9.08% 152427x 3.280 us N/A
nstream F32 I64 2^16 = 65536 1 87040x 12.225 us 113.05% 5.745 us 1.96% 11.407G 182.509 GB/s 8.95% 150912x 3.315 us 1.014x
nstream F32 I32 2^20 = 1048576 1 33040x 21.580 us 42.73% 15.135 us 1.08% 69.283G 1.109 TB/s 54.37% 89609x 5.582 us N/A
nstream F32 I64 2^20 = 1048576 1 32960x 21.604 us 42.54% 15.170 us 1.08% 69.121G 1.106 TB/s 54.24% 88558x 5.648 us 1.002x
nstream F32 I32 2^24 = 16777216 1 3290x 158.319 us 4.18% 152.008 us 0.37% 110.371G 1.766 TB/s 86.61% 3642x 148.534 us N/A
nstream F32 I64 2^24 = 16777216 1 3288x 158.392 us 4.18% 152.084 us 0.38% 110.316G 1.765 TB/s 86.56% 3653x 148.634 us 1.001x
nstream F32 I32 2^28 = 268435456 1 219x 2.298 ms 0.29% 2.292 ms 0.05% 117.134G 1.874 TB/s 91.91% 230x 2.287 ms N/A
nstream F32 I64 2^28 = 268435456 1 219x 2.299 ms 0.29% 2.293 ms 0.05% 117.072G 1.873 TB/s 91.86% 230x 2.289 ms 1.000x
nstream F64 I32 2^16 = 65536 1 78880x 12.823 us 102.53% 6.339 us 1.86% 10.338G 330.831 GB/s 16.22% 157647x 3.174 us N/A
nstream F64 I64 2^16 = 65536 1 77824x 12.942 us 101.69% 6.425 us 1.98% 10.200G 326.408 GB/s 16.01% 151895x 3.292 us 1.014x
nstream F64 I32 2^20 = 1048576 1 20528x 30.811 us 26.59% 24.359 us 0.80% 43.047G 1.378 TB/s 67.56% 66281x 7.544 us N/A
nstream F64 I64 2^20 = 1048576 1 20480x 30.934 us 26.75% 24.423 us 0.80% 42.934G 1.374 TB/s 67.38% 65252x 7.667 us 1.003x
nstream F64 I32 2^24 = 16777216 1 1698x 300.921 us 2.17% 294.586 us 0.20% 56.952G 1.822 TB/s 89.38% 1844x 290.902 us N/A
nstream F64 I64 2^24 = 16777216 1 1697x 301.153 us 2.18% 294.774 us 0.20% 56.915G 1.821 TB/s 89.32% 1840x 291.121 us 1.001x
nstream F64 I32 2^28 = 268435456 1 110x 4.578 ms 0.15% 4.572 ms 0.03% 58.718G 1.879 TB/s 92.15% 115x 4.567 ms N/A
nstream F64 I64 2^28 = 268435456 1 110x 4.580 ms 0.15% 4.574 ms 0.04% 58.688G 1.878 TB/s 92.10% 115x 4.570 ms 1.000x
nstream I128 I32 2^16 = 65536 1 62416x 14.534 us 81.61% 8.012 us 1.86% 8.180G 523.510 GB/s 25.67% 139345x 3.588 us N/A
nstream I128 I64 2^16 = 65536 1 62896x 14.372 us 80.93% 7.951 us 2.00% 8.242G 527.510 GB/s 25.87% 141594x 3.531 us 0.992x
nstream I128 I32 2^20 = 1048576 1 11920x 48.451 us 15.41% 42.002 us 0.54% 24.965G 1.598 TB/s 78.36% 15117x 37.574 us N/A
nstream I128 I64 2^20 = 1048576 1 11920x 48.358 us 15.28% 41.968 us 0.54% 24.985G 1.599 TB/s 78.42% 15061x 37.492 us 0.999x
nstream I128 I32 2^24 = 16777216 1 879x 575.869 us 1.13% 569.440 us 0.07% 29.463G 1.886 TB/s 92.48% 935x 564.814 us N/A
nstream I128 I64 2^24 = 16777216 1 879x 575.650 us 1.11% 569.388 us 0.07% 29.465G 1.886 TB/s 92.48% 933x 564.678 us 1.000x
nstream I128 I32 2^28 = 268435456 1 56x 8.945 ms 0.08% 8.938 ms 0.01% 30.033G 1.922 TB/s 94.27% 58x 8.933 ms N/A
nstream I128 I64 2^28 = 268435456 1 56x 8.944 ms 0.08% 8.938 ms 0.01% 30.034G 1.922 TB/s 94.27% 58x 8.932 ms 1.000x
Benchmark OffsetT{ct} Elements{io} Samples CPU Time Noise GPU Time Noise Elem/s GlobalMem BW BWUtil GPU Time Comparison (I64 vs I32)
compare_complex I32 2^16 = 65536 81312x 12.133 us 97.58% 6.150 us 1.86% 10.657G 95.911 GB/s 4.70% N/A
compare_complex I64 2^16 = 65536 80496x 12.241 us 97.30% 6.213 us 1.70% 10.549G 94.938 GB/s 4.66% 1.010x
compare_complex I32 2^20 = 1048576 34800x 20.519 us 42.88% 14.374 us 1.31% 72.950G 656.547 GB/s 32.20% N/A
compare_complex I64 2^20 = 1048576 33856x 20.851 us 41.29% 14.772 us 1.20% 70.985G 638.867 GB/s 31.33% 1.028x
compare_complex I32 2^24 = 16777216 3751x 139.580 us 4.74% 133.301 us 0.34% 125.860G 1.133 TB/s 55.55% N/A
compare_complex I64 2^24 = 16777216 3622x 144.170 us 4.43% 138.070 us 0.22% 121.513G 1.094 TB/s 53.63% 1.036x
compare_complex I32 2^28 = 268435456 2048x 2.208 ms 1.81% 2.202 ms 1.79% 121.909G 1.097 TB/s 53.81% N/A
compare_complex I64 2^28 = 268435456 2048x 2.270 ms 1.98% 2.263 ms 1.95% 118.612G 1.068 TB/s 52.35% 1.028x
Benchmark OffsetT{ct} Elements{io} Samples CPU Time Noise GPU Time Noise Elem/s GlobalMem BW BWUtil GPU Time Comparison (I64 vs I32)
fibonacci I32 2^16 = 65536 76624x 12.777 us 96.04% 6.526 us 1.73% 10.043G 120.513 GB/s 5.91% N/A
fibonacci I64 2^16 = 65536 73632x 13.169 us 94.18% 6.792 us 1.49% 9.650G 115.795 GB/s 5.68% 1.041x
fibonacci I32 2^20 = 1048576 33344x 21.378 us 42.65% 15.001 us 0.97% 69.903G 838.831 GB/s 41.14% N/A
fibonacci I64 2^20 = 1048576 32752x 21.677 us 42.07% 15.272 us 0.94% 68.662G 823.941 GB/s 40.41% 1.018x
fibonacci I32 2^24 = 16777216 3846x 136.523 us 5.02% 130.032 us 0.42% 129.023G 1.548 TB/s 75.93% N/A
fibonacci I64 2^24 = 16777216 3752x 139.506 us 4.69% 133.280 us 0.25% 125.880G 1.511 TB/s 74.08% 1.025x
fibonacci I32 2^28 = 268435456 1104x 1.969 ms 1.32% 1.962 ms 1.28% 136.786G 1.641 TB/s 80.50% N/A
fibonacci I64 2^28 = 268435456 1408x 2.038 ms 2.09% 2.031 ms 2.06% 132.162G 1.586 TB/s 77.78% 1.035x

Benchmark: mul

  • Minimum Time Comparison: 0.998x
  • Maximum Time Comparison: 1.018x

Benchmark: add

  • Minimum Time Comparison: 0.998x
  • Maximum Time Comparison: 1.034x

Benchmark: triad

  • Minimum Time Comparison: 0.985x
  • Maximum Time Comparison: 1.013x

Benchmark: nstream

  • Minimum Time Comparison: 0.991x
  • Maximum Time Comparison: 1.014x

Benchmark: compare_complex

  • Minimum Time Comparison: 1.010x
  • Maximum Time Comparison: 1.036x

Benchmark: fibonacci

  • Minimum Time Comparison: 1.018x
  • Maximum Time Comparison: 1.041x

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@elstehle
elstehle requested review from a team as code owners December 15, 2024 10:45
@elstehle
elstehle force-pushed the enh/large-num-items-transform branch from 1e970af to 1877a3d Compare December 15, 2024 13:03
@github-actions

Copy link
Copy Markdown
Contributor
🟩 CI finished in 1h 10m: Pass: 100%/96 | Total: 18h 04m | Avg: 11m 17s | Max: 53m 44s | Hits: 99%/12384
  • 🟩 cub: Pass: 100%/47 | Total: 10h 48m | Avg: 13m 47s | Max: 53m 44s | Hits: 98%/3124

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

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

    🟩 cpu
      🟩 amd64              Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 ctk
      🟩 12.6               Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 cudacxx
      🟩 nvcc12.6           Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 cudacxx_family
      🟩 nvcc               Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 cxx
      🟩 GCC13              Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 cxx_family
      🟩 GCC                Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 gpu
      🟩 v100               Pass: 100%/2   | Total: 14m 02s | Avg:  7m 01s | Max: 11m 58s
    🟩 jobs
      🟩 Build              Pass: 100%/1   | Total:  2m 04s | Avg:  2m 04s | Max:  2m 04s
      🟩 Test               Pass: 100%/1   | Total: 11m 58s | Avg: 11m 58s | Max: 11m 58s
    
  • 🟩 python: Pass: 100%/1 | Total: 28m 24s | Avg: 28m 24s | Max: 28m 24s

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

👃 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: 96)

# Runner
71 linux-amd64-cpu16
11 linux-amd64-gpu-v100-latest-1
9 windows-amd64-cpu16
4 linux-arm64-cpu16
1 linux-amd64-gpu-h100-latest-1-testing

@elstehle
elstehle force-pushed the enh/large-num-items-transform branch from 1877a3d to 00d710b Compare December 18, 2024 14:04
@elstehle elstehle changed the title [DO NOT MERGE] Adds support for large number of items to DeviceTransform Adds support for large number of items to DeviceTransform Dec 18, 2024
@github-actions

Copy link
Copy Markdown
Contributor
🟩 CI finished in 1h 54m: Pass: 100%/96 | Total: 2d 16h | Avg: 40m 07s | Max: 1h 03m | Hits: 69%/12384
  • 🟩 cub: Pass: 100%/47 | Total: 1d 14h | Avg: 49m 45s | Max: 1h 03m | Hits: 67%/3124

    🟩 cpu
      🟩 amd64              Pass: 100%/45  | Total:  1d 13h | Avg: 49m 21s | Max:  1h 03m | Hits:  67%/3124  
      🟩 arm64              Pass: 100%/2   | Total:  1h 57m | Avg: 58m 43s | Max:  1h 03m
    🟩 ctk
      🟩 11.1               Pass: 100%/7   | Total:  5h 33m | Avg: 47m 41s | Max: 57m 31s | Hits:  67%/781   
      🟩 12.5               Pass: 100%/2   | Total:  2h 05m | Avg:  1h 02m | Max:  1h 03m
      🟩 12.6               Pass: 100%/38  | Total:  1d 07h | Avg: 49m 26s | Max:  1h 03m | Hits:  67%/2343  
    🟩 cudacxx
      🟩 ClangCUDA18        Pass: 100%/2   | Total:  1h 55m | Avg: 57m 55s | Max: 59m 45s
      🟩 nvcc11.1           Pass: 100%/7   | Total:  5h 33m | Avg: 47m 41s | Max: 57m 31s | Hits:  67%/781   
      🟩 nvcc12.5           Pass: 100%/2   | Total:  2h 05m | Avg:  1h 02m | Max:  1h 03m
      🟩 nvcc12.6           Pass: 100%/36  | Total:  1d 05h | Avg: 48m 58s | Max:  1h 03m | Hits:  67%/2343  
    🟩 cudacxx_family
      🟩 ClangCUDA          Pass: 100%/2   | Total:  1h 55m | Avg: 57m 55s | Max: 59m 45s
      🟩 nvcc               Pass: 100%/45  | Total:  1d 13h | Avg: 49m 23s | Max:  1h 03m | Hits:  67%/3124  
    🟩 cxx
      🟩 Clang9             Pass: 100%/4   | Total:  3h 21m | Avg: 50m 22s | Max: 56m 50s
      🟩 Clang10            Pass: 100%/1   | Total: 52m 03s | Avg: 52m 03s | Max: 52m 03s
      🟩 Clang11            Pass: 100%/1   | Total: 53m 16s | Avg: 53m 16s | Max: 53m 16s
      🟩 Clang12            Pass: 100%/1   | Total: 54m 37s | Avg: 54m 37s | Max: 54m 37s
      🟩 Clang13            Pass: 100%/1   | Total: 50m 39s | Avg: 50m 39s | Max: 50m 39s
      🟩 Clang14            Pass: 100%/1   | Total: 54m 58s | Avg: 54m 58s | Max: 54m 58s
      🟩 Clang15            Pass: 100%/1   | Total: 56m 35s | Avg: 56m 35s | Max: 56m 35s
      🟩 Clang16            Pass: 100%/1   | Total: 58m 02s | Avg: 58m 02s | Max: 58m 02s
      🟩 Clang17            Pass: 100%/1   | Total: 51m 43s | Avg: 51m 43s | Max: 51m 43s
      🟩 Clang18            Pass: 100%/7   | Total:  6h 07m | Avg: 52m 32s | Max:  1h 02m
      🟩 GCC6               Pass: 100%/2   | Total:  1h 33m | Avg: 46m 38s | Max: 48m 55s
      🟩 GCC7               Pass: 100%/2   | Total:  1h 49m | Avg: 54m 44s | Max: 56m 05s
      🟩 GCC8               Pass: 100%/1   | Total: 56m 37s | Avg: 56m 37s | Max: 56m 37s
      🟩 GCC9               Pass: 100%/3   | Total:  2h 22m | Avg: 47m 21s | Max: 52m 34s
      🟩 GCC10              Pass: 100%/1   | Total: 52m 00s | Avg: 52m 00s | Max: 52m 00s
      🟩 GCC11              Pass: 100%/1   | Total: 53m 38s | Avg: 53m 38s | Max: 53m 38s
      🟩 GCC12              Pass: 100%/3   | Total:  1h 32m | Avg: 30m 57s | Max: 52m 52s
      🟩 GCC13              Pass: 100%/8   | Total:  5h 17m | Avg: 39m 44s | Max:  1h 03m
      🟩 Intel2023.2.0      Pass: 100%/1   | Total: 55m 54s | Avg: 55m 54s | Max: 55m 54s
      🟩 MSVC14.16          Pass: 100%/1   | Total: 57m 31s | Avg: 57m 31s | Max: 57m 31s | Hits:  67%/781   
      🟩 MSVC14.29          Pass: 100%/1   | Total:  1h 01m | Avg:  1h 01m | Max:  1h 01m | Hits:  67%/781   
      🟩 MSVC14.39          Pass: 100%/2   | Total:  1h 58m | Avg: 59m 28s | Max:  1h 00m | Hits:  67%/1562  
      🟩 NVHPC24.7          Pass: 100%/2   | Total:  2h 05m | Avg:  1h 02m | Max:  1h 03m
    🟩 cxx_family
      🟩 Clang              Pass: 100%/19  | Total: 16h 41m | Avg: 52m 41s | Max:  1h 02m
      🟩 GCC                Pass: 100%/21  | Total: 15h 17m | Avg: 43m 42s | Max:  1h 03m
      🟩 Intel              Pass: 100%/1   | Total: 55m 54s | Avg: 55m 54s | Max: 55m 54s
      🟩 MSVC               Pass: 100%/4   | Total:  3h 57m | Avg: 59m 25s | Max:  1h 01m | Hits:  67%/3124  
      🟩 NVHPC              Pass: 100%/2   | Total:  2h 05m | Avg:  1h 02m | Max:  1h 03m
    🟩 gpu
      🟩 h100               Pass: 100%/2   | Total: 40m 01s | Avg: 20m 00s | Max: 23m 48s
      🟩 v100               Pass: 100%/45  | Total:  1d 14h | Avg: 51m 04s | Max:  1h 03m | Hits:  67%/3124  
    🟩 jobs
      🟩 Build              Pass: 100%/40  | Total:  1d 11h | Avg: 52m 38s | Max:  1h 03m | Hits:  67%/3124  
      🟩 DeviceLaunch       Pass: 100%/1   | Total: 22m 43s | Avg: 22m 43s | Max: 22m 43s
      🟩 GraphCapture       Pass: 100%/1   | Total: 38m 50s | Avg: 38m 50s | Max: 38m 50s
      🟩 HostLaunch         Pass: 100%/3   | Total:  1h 13m | Avg: 24m 22s | Max: 35m 02s
      🟩 TestGPU            Pass: 100%/2   | Total:  1h 38m | Avg: 49m 06s | Max:  1h 02m
    🟩 sm
      🟩 90                 Pass: 100%/2   | Total: 40m 01s | Avg: 20m 00s | Max: 23m 48s
      🟩 90a                Pass: 100%/1   | Total: 23m 36s | Avg: 23m 36s | Max: 23m 36s
    🟩 std
      🟩 11                 Pass: 100%/5   | Total:  4h 06m | Avg: 49m 21s | Max: 56m 50s
      🟩 14                 Pass: 100%/4   | Total:  3h 29m | Avg: 52m 15s | Max: 57m 31s | Hits:  67%/781   
      🟩 17                 Pass: 100%/12  | Total: 11h 00m | Avg: 55m 02s | Max:  1h 03m | Hits:  67%/1562  
      🟩 20                 Pass: 100%/26  | Total: 20h 22m | Avg: 47m 00s | Max:  1h 03m | Hits:  66%/781   
    
  • 🟩 thrust: Pass: 100%/46 | Total: 1d 00h | Avg: 32m 03s | Max: 1h 02m | Hits: 70%/9260

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

    🟩 cpu
      🟩 amd64              Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 ctk
      🟩 12.6               Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 cudacxx
      🟩 nvcc12.6           Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 cudacxx_family
      🟩 nvcc               Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 cxx
      🟩 GCC13              Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 cxx_family
      🟩 GCC                Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 gpu
      🟩 v100               Pass: 100%/2   | Total:  9m 59s | Avg:  4m 59s | Max:  7m 55s
    🟩 jobs
      🟩 Build              Pass: 100%/1   | Total:  2m 04s | Avg:  2m 04s | Max:  2m 04s
      🟩 Test               Pass: 100%/1   | Total:  7m 55s | Avg:  7m 55s | Max:  7m 55s
    
  • 🟩 python: Pass: 100%/1 | Total: 28m 49s | Avg: 28m 49s | Max: 28m 49s

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

👃 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: 96)

# Runner
71 linux-amd64-cpu16
11 linux-amd64-gpu-v100-latest-1
9 windows-amd64-cpu16
4 linux-arm64-cpu16
1 linux-amd64-gpu-h100-latest-1-testing

Comment thread cub/cub/device/device_transform.cuh Resolved
Comment thread cub/cub/device/device_transform.cuh Resolved

@bernhardmgruber bernhardmgruber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the small remaining suggestions. Otherwise LGTM.

Comment thread cub/cub/device/device_transform.cuh Resolved
@elstehle elstehle mentioned this pull request Dec 20, 2024
23 of 25 tasks
@github-actions

Copy link
Copy Markdown
Contributor
🟩 CI finished in 1h 36m: Pass: 100%/96 | Total: 2d 14h | Avg: 39m 11s | Max: 1h 08m | Hits: 69%/12384
  • 🟩 cub: Pass: 100%/47 | Total: 1d 13h | Avg: 47m 44s | Max: 1h 05m | Hits: 67%/3124

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

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

    🟩 cpu
      🟩 amd64              Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 ctk
      🟩 12.6               Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 cudacxx
      🟩 nvcc12.6           Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 cudacxx_family
      🟩 nvcc               Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 cxx
      🟩 GCC13              Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 cxx_family
      🟩 GCC                Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 gpu
      🟩 v100               Pass: 100%/2   | Total:  9m 25s | Avg:  4m 42s | Max:  7m 18s
    🟩 jobs
      🟩 Build              Pass: 100%/1   | Total:  2m 07s | Avg:  2m 07s | Max:  2m 07s
      🟩 Test               Pass: 100%/1   | Total:  7m 18s | Avg:  7m 18s | Max:  7m 18s
    
  • 🟩 python: Pass: 100%/1 | Total: 25m 56s | Avg: 25m 56s | Max: 25m 56s

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

👃 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: 96)

# Runner
71 linux-amd64-cpu16
11 linux-amd64-gpu-v100-latest-1
9 windows-amd64-cpu16
4 linux-arm64-cpu16
1 linux-amd64-gpu-h100-latest-1-testing

@github-actions

Copy link
Copy Markdown
Contributor
🟩 CI finished in 1h 32m: Pass: 100%/96 | Total: 2d 13h | Avg: 38m 34s | Max: 1h 07m | Hits: 74%/12404
  • 🟩 cub: Pass: 100%/47 | Total: 1d 13h | Avg: 47m 49s | Max: 1h 07m | Hits: 67%/3144

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

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

    🟩 cpu
      🟩 amd64              Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 ctk
      🟩 12.6               Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 cudacxx
      🟩 nvcc12.6           Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 cudacxx_family
      🟩 nvcc               Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 cxx
      🟩 GCC13              Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 cxx_family
      🟩 GCC                Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 gpu
      🟩 v100               Pass: 100%/2   | Total:  8m 43s | Avg:  4m 21s | Max:  6m 42s
    🟩 jobs
      🟩 Build              Pass: 100%/1   | Total:  2m 01s | Avg:  2m 01s | Max:  2m 01s
      🟩 Test               Pass: 100%/1   | Total:  6m 42s | Avg:  6m 42s | Max:  6m 42s
    
  • 🟩 python: Pass: 100%/1 | Total: 24m 52s | Avg: 24m 52s | Max: 24m 52s

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

👃 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: 96)

# Runner
71 linux-amd64-cpu16
11 linux-amd64-gpu-v100-latest-1
9 windows-amd64-cpu16
4 linux-arm64-cpu16
1 linux-amd64-gpu-h100-latest-1-testing

@elstehle
elstehle merged commit 86b9118 into NVIDIA:main Dec 20, 2024
davebayer pushed a commit to davebayer/cccl that referenced this pull request Jan 18, 2025
)

* moves large problem test helper to common file

* adds support for large num items to device transform

* adds tests for large number of items to device interface

* fixes format

* addresses review comments
davebayer added a commit to davebayer/cccl that referenced this pull request Jan 20, 2025
implement `add_sat`

split `signed`/`unsigned` implementation, improve implementation for MSVC

improve device `add_sat` implementation

add `add_sat` test

improve generic `add_sat` implementation for signed types

implement `sub_sat`

allow more msvc intrinsics on x86

add op tests

partially implement `mul_sat`

implement `div_sat` and `saturate_cast`

add `saturate_cast` test

simplify `div_sat` test

Deprectate C++11 and C++14 for libcu++ (#3173)

* Deprectate C++11 and C++14 for libcu++

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

Implement `abs` and `div` from `cstdlib` (#3153)

* implement integer abs functions
* improve tests, fix constexpr support
* just use the our implementation
* implement `cuda::std::div`
* prefer host's `div_t` like types
* provide `cuda::std::abs` overloads for floats
* allow fp abs for NVRTC
* silence msvc's warning about conversion from floating point to integral

Fix missing radix sort policies (#3174)

Fixes NVBug 5009941

Introduces new `DeviceReduce::Arg{Min,Max}` interface with two output iterators (#3148)

* introduces new arg{min,max} interface with two output iterators

* adds fp inf tests

* fixes docs

* improves code example

* fixes exec space specifier

* trying to fix deprecation warning for more compilers

* inlines unzip operator

* trying to fix deprecation warning for nvhpc

* integrates supression fixes in diagnostics

* pre-ctk 11.5 deprecation suppression

* fixes icc

* fix for pre-ctk11.5

* cleans up deprecation suppression

* cleanup

Extend tuning documentation (#3179)

Add codespell pre-commit hook, fix typos in CCCL (#3168)

* Add codespell pre-commit hook
* Automatic changes from codespell.
* Manual changes.

Fix parameter space for TUNE_LOAD in scan benchmark (#3176)

fix various old compiler checks (#3178)

implement C++26 `std::projected` (#3175)

Fix pre-commit config for codespell and remaining typos (#3182)

Massive cleanup of our config (#3155)

Fix UB in atomics with automatic storage (#2586)

* Adds specialized local cuda atomics and injects them into most atomics paths.

Co-authored-by: Georgy Evtushenko <[email protected]>
Co-authored-by: gonzalobg <[email protected]>

* Allow CUDA 12.2 to keep perf, this addresses earlier comments in #478

* Remove extraneous double brackets in unformatted code.

* Merge unsafe atomic logic into `__cuda_is_local`.

* Use `const_cast` for type conversions in cuda_local.h

* Fix build issues from interface changes

* Fix missing __nanosleep on sm70-

* Guard __isLocal from NVHPC

* Use PTX instead of running nothing from NVHPC

* fixup /s/nvrtc/nvhpc

* Fixup missing CUDA ifdef surrounding device code

* Fix codegen

* Bypass some sort of compiler bug on GCC7

* Apply suggestions from code review

* Use unsafe automatic storage atomics in codegen tests

---------

Co-authored-by: Georgy Evtushenko <[email protected]>
Co-authored-by: gonzalobg <[email protected]>
Co-authored-by: Michael Schellenberger Costa <[email protected]>

Refactor the source code layout for `cuda.parallel` (#3177)

* Refactor the source layout for cuda.parallel

* Add copyright

* Address review feedback

* Don't import anything into `experimental` namespace

* fix import

---------

Co-authored-by: Ashwin Srinath <[email protected]>

new type-erased memory resources (#2824)

s/_LIBCUDACXX_DECLSPEC_EMPTY_BASES/_CCCL_DECLSPEC_EMPTY_BASES/g (#3186)

Document address stability of `thrust::transform` (#3181)

* Do not document _LIBCUDACXX_MARK_CAN_COPY_ARGUMENTS
* Reformat and fix UnaryFunction/BinaryFunction in transform docs
* Mention transform can use proclaim_copyable_arguments
* Document cuda::proclaims_copyable_arguments better
* Deprecate depending on transform functor argument addresses

Fixes: #3053

turn off cuda version check for clangd (#3194)

[STF] jacobi example based on parallel_for (#3187)

* Simple jacobi example with parallel for and reductions

* clang-format

* remove useless capture list

fixes pre-nv_diag suppression issues (#3189)

Prefer c2h::type_name over c2h::demangle (#3195)

Fix memcpy_async* tests (#3197)

* memcpy_async_tx: Fix bug in test

Two bugs, one of which occurs in practice:

1. There is a missing fence.proxy.space::global between the writes to
   global memory and the memcpy_async_tx. (Occurs in practice)

2. The end of the kernel should be fenced with `__syncthreads()`,
   because the barrier is invalidated in the destructor. If other
   threads are still waiting on it, there will be UB. (Has not yet
   manifested itself)

* cp_async_bulk_tensor: Pre-emptively fence more in test

Add type annotations and mypy checks for `cuda.parallel`  (#3180)

* Refactor the source layout for cuda.parallel

* Add initial type annotations

* Update pre-commit config

* More typing

* Fix bad merge

* Fix TYPE_CHECKING and numpy annotations

* typing bindings.py correctly

* Address review feedback

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Fix rendering of cuda.parallel docs (#3192)

* Fix pre-commit config for codespell and remaining typos

* Fix rendering of docs for cuda.parallel

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Enable PDL for DeviceMergeSortBlockSortKernel (#3199)

The kernel already contains a call to _CCCL_PDL_GRID_DEPENDENCY_SYNC.
This commit enables PDL when launching the kernel.

Adds support for large `num_items` to `DeviceReduce::{ArgMin,ArgMax}` (#2647)

* adds benchmarks for reduce::arg{min,max}

* preliminary streaming arg-extremum reduction

* fixes implicit conversion

* uses streaming dispatch class

* changes arg benches to use new streaming reduce

* streaming arg-extrema reduction

* fixes style

* fixes compilation failures

* cleanups

* adds rst style comments

* declare vars const and use clamp

* consolidates argmin argmax benchmarks

* fixes thrust usage

* drops offset type in arg-extrema benchmarks

* fixes clang cuda

* exec space macros

* switch to signed global offset type for slightly better perf

* clarifies documentation

* applies minor benchmark style changes from review comments

* fixes interface documentation and comments

* list-init accumulating output op

* improves style, comments, and tests

* cleans up aggregate init

* renames dispatch class usage in benchmarks

* fixes merge conflicts

* addresses review comments

* addresses review comments

* fixes assertion

* removes superseded implementation

* changes large problem tests to use new interface

* removes obsolete tests for deprecated interface

Fixes for Python 3.7 docs environment (#3206)

Co-authored-by: Ashwin Srinath <[email protected]>

Adds support for large number of items to `DeviceTransform` (#3172)

* moves large problem test helper to common file

* adds support for large num items to device transform

* adds tests for large number of items to device interface

* fixes format

* addresses review comments

cp_async_bulk: Fix test (#3198)

* memcpy_async_tx: Fix bug in test

Two bugs, one of which occurs in practice:

1. There is a missing fence.proxy.space::global between the writes to
   global memory and the memcpy_async_tx. (Occurs in practice)

2. The end of the kernel should be fenced with `__syncthreads()`,
   because the barrier is invalidated in the destructor. If other
   threads are still waiting on it, there will be UB. (Has not yet
   manifested itself)

* cp_async_bulk_tensor: Pre-emptively fence more in test

* cp_async_bulk: Fix test

The global memory pointer could be misaligned.

cudax fixes for msvc 14.41 (#3200)

avoid instantiating class templates in `is_same` implementation when possible (#3203)

Fix: make launchers a CUB detail; make kernel source functions hidden. (#3209)

* Fix: make launchers a CUB detail; make kernel source functions hidden.

* [pre-commit.ci] auto code formatting

* Address review comments, fix which macro gets fixed.

help the ranges concepts recognize standard contiguous iterators in c++14/17 (#3202)

unify macros and cmake options that control the suppression of deprecation warnings (#3220)

* unify macros and cmake options that control the suppression of deprecation warnings

* suppress nvcc warning #186 in thrust header tests

* suppress c++ dialect deprecation warnings in libcudacxx header tests

Fx thread-reduce performance regression (#3225)

cuda.parallel: In-memory caching of build objects (#3216)

* Define __eq__ and __hash__ for Iterators

* Define cache_with_key utility and use it to cache Reduce objects

* Add tests for caching Reduce objects

* Tighten up types

* Updates to support 3.7

* Address review feedback

* Introduce IteratorKind to hold iterator type information

* Use the .kind to generate an abi_name

* Remove __eq__ and __hash__ methods from IteratorBase

* Move helper function

* Formatting

* Don't unpack tuple in cache key

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Just enough ranges for c++14 `span` (#3211)

use generalized concepts portability macros to simplify the `range` concept (#3217)

fixes some issues in the concepts portability macros and then re-implements the `range` concept with `_CCCL_REQUIRES_EXPR`

Use Ruff to sort imports (#3230)

* Update pyproject.tomls for import sorting

* Update files after running pre-commit

* Move ruff config to pyproject.toml

---------

Co-authored-by: Ashwin Srinath <[email protected]>

fix tuning_scan sm90 config issue (#3236)

Co-authored-by: Shijie Chen <[email protected]>

[STF] Logical token (#3196)

* Split the implementation of the void interface into the definition of the interface, and its implementations on streams and graphs.

* Add missing files

* Check if a task implementation can match a prototype where the void_interface arguments are ignored

* Implement ctx.abstract_logical_data() which relies on a void data interface

* Illustrate how to use abstract handles in local contexts

* Introduce an is_void_interface() virtual method in the data interface to potentially optimize some stages

* Small improvements in the examples

* Do not try to allocate or move void data

* Do not use I as a variable

* fix linkage error

* rename abtract_logical_data into logical_token

* Document logical token

* fix spelling error

* fix sphinx error

* reflect name changes

* use meaningful variable names

* simplify logical_token implementation because writeback is already disabled

* add a unit test for token elision

* implement token elision in host_launch

* Remove unused type

* Implement helpers to check if a function can be invoked from a tuple, or from a tuple where we removed tokens

* Much simpler is_tuple_invocable_with_filtered implementation

* Fix buggy test

* Factorize code

* Document that we can ignore tokens for task and host_launch

* Documentation for logical data freeze

Fix ReduceByKey tuning (#3240)

Fix RLE tuning (#3239)

cuda.parallel: Forbid non-contiguous arrays as inputs (or outputs) (#3233)

* Forbid non-contiguous arrays as inputs (or outputs)

* Implement a more robust way to check for contiguity

* Don't bother if cublas unavailable

* Fix how we check for zero-element arrays

* sort imports

---------

Co-authored-by: Ashwin Srinath <[email protected]>

expands support for more offset types in segmented benchmark (#3231)

Add escape hatches to the cmake configuration of the header tests so that we can tests deprecated compilers / dialects (#3253)

* Add escape hatches to the cmake configuration of the header tests so that we can tests deprecated compilers / dialects

* Do not add option twice

ptx: Add add_instruction.py (#3190)

This file helps create the necessary structure for new PTX instructions.

Co-authored-by: Allard Hendriksen <[email protected]>

Bump main to 2.9.0. (#3247)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Drop cub::Mutex (#3251)

Fixes: #3250

Remove legacy macros from CUB util_arch.cuh (#3257)

Fixes: #3256

Remove thrust::[unary|binary]_traits (#3260)

Fixes: #3259

Architecture and OS identification macros (#3237)

Bump main to 3.0.0. (#3265)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Drop thrust not1 and not2 (#3264)

Fixes: #3263

CCCL Internal macro documentation (#3238)

Deprecate GridBarrier and GridBarrierLifetime (#3258)

Fixes: #1389

Require at least gcc7 (#3268)

Fixes: #3267

Drop thrust::[unary|binary]_function (#3274)

Fixes: #3273

Drop ICC from CI (#3277)

[STF] Corruption of the capture list of an extended lambda with a parallel_for construct on a host execution place (#3270)

* Add a test to reproduce a bug observed with parallel_for on a host place

* clang-format

* use _CCCL_ASSERT

* Attempt to debug

* do not create a tuple with a universal reference that is out of scope when we use it, use an lvalue instead

* fix lambda expression

* clang-format

Enable thrust::identity test for non-MSVC (#3281)

This seems to be an oversight when the test was added

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Enable PDL in triple chevron launch (#3282)

It seems PDL was disabled by accident when _THRUST_HAS_PDL was renamed
to _CCCL_HAS_PDL during the review introducing the feature.

Disambiguate line continuations and macro continuations in <nv/target> (#3244)

Drop VS 2017 from CI (#3287)

Fixes: #3286

Drop ICC support in code (#3279)

* Drop ICC from code

Fixes: #3278

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Make CUB NVRTC commandline arguments come from a cmake template (#3292)

Propose the same components (thrust, cub, libc++, cudax, cuda.parallel,...) in the bug report template than in the feature request template (#3295)

Use process isolation instead of default hyper-v for Windows. (#3294)

Try improving build times by using process isolation instead of hyper-v

Co-authored-by: Michael Schellenberger Costa <[email protected]>

[pre-commit.ci] pre-commit autoupdate (#3248)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/mirrors-clang-format: v18.1.8 → v19.1.6](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.8...v19.1.6)
- [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.6)
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.1)

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Drop Thrust legacy arch macros (#3298)

Which were disabled and could be re-enabled using THRUST_PROVIDE_LEGACY_ARCH_MACROS

Drop Thrust's compiler_fence.h (#3300)

Drop CTK 11.x from CI (#3275)

* Add cuda12.0-gcc7 devcontainer
* Move MSVC2017 jobs to CTK 12.6
Those is the only combination where rapidsai has devcontainers
* Add /Zc:__cplusplus for the libcudacxx tests
* Only add excape hatch for affected CTKs
* Workaround missing cudaLaunchKernelEx on MSVC
cudaLaunchKernelEx requires C++11, but unfortunately <cuda_runtime.h> checks this using the __cplusplus macro, which is reported wrongly for MSVC. CTK 12.3 fixed this by additionally detecting _MSV_VER. As a workaround, we provide our own copy of cudaLaunchKernelEx when it is not available from the CTK.
* Workaround nvcc+MSVC issue
* Regenerate devcontainers

Fixes: #3249

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Drop CUB's util_compiler.cuh (#3302)

All contained macros were deprecated

Update packman and repo_docs versions (#3293)

Co-authored-by: Ashwin Srinath <[email protected]>

Drop Thrust's deprecated compiler macros (#3301)

Drop CUB_RUNTIME_ENABLED and __THRUST_HAS_CUDART__ (#3305)

Adds support for large number of items to `DevicePartition::If` with the `ThreeWayPartition` overload (#2506)

* adds support for large number of items to three-way partition

* adapts interface to use choose_signed_offset_t

* integrates applicable feedback from device-select pr

* changes behavior for empty problems

* unifies grid constant macro

* fixes kernel template specialization mismatch

* integrates _CCCL_GRID_CONSTANT changes

* resolve merge conflicts

* fixes checks in test

* fixes test verification

* improves tests

* makes few improvements to streaming dispatch

* improves code comment on test

* fixes unrelated compiler error

* minor style improvements

Refactor scan tunings (#3262)

Require C++17 for compiling Thrust and CUB (#3255)

* Issue an unsuppressable warning when compiling with < C++17
* Remove C++11/14 presets
* Remove CCCL_IGNORE_DEPRECATED_CPP_DIALECT from headers
* Remove [CUB|THRUST|TCT]_IGNORE_DEPRECATED_CPP_[11|14]
* Remove CUB_ENABLE_DIALECT_CPP[11|14]
* Update CI runs
* Remove C++11/14 CI runs for CUB and Thrust
* Raise compiler minimum versions for C++17
* Update ReadMe
* Drop Thrust's cpp14_required.h
* Add escape hatch for C++17 removal

Fixes: #3252

Implement `views::empty` (#3254)

* Disable pair conversion of subrange with clang in C++17

* Fix namespace views

* Implement `views::empty`

This implements `std::ranges::views::empty`, see https://en.cppreference.com/w/cpp/ranges/empty_view

Refactor `limits` and `climits` (#3221)

* implement builtins for huge val, nan and nans

* change `INFINITY` and `NAN` implementation for NVRTC

cuda.parallel: Add documentation for the current iterators along with examples and tests (#3311)

* Add tests demonstrating usage of different iterators

* Update documentation of reduce_into by merging import code snippet with the rest of the example

* Add documentation for current iterators

* Run pre-commit checks and update accordingly

* Fix comments to refer to the proper lines in the code snippets in the docs

Drop clang<14 from CI, update devcontainers. (#3309)

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

[STF] Cleanup task dependencies object constructors (#3291)

* Define tag types for access modes

* - Rework how we build task_dep objects based on access mode tags
- pack_state is now responsible for using a const_cast for read only data

* Greatly simplify the previous attempt : do not define new types, but use integral constants based on the enums

* It seems the const_cast was not necessarily so we can simplify it and not even do some dispatch based on access modes

Disable test with a gcc-14 regression (#3297)

Deprecate Thrust's cpp_compatibility.h macros (#3299)

Remove dropped function objects from docs (#3319)

Document `NV_TARGET` macros (#3313)

[STF] Define ctx.pick_stream() which was missing for the unified context (#3326)

* Define ctx.pick_stream() which was missing for the unified context

* clang-format

Deprecate cub::IterateThreadStore (#3337)

Drop CUB's BinaryFlip operator (#3332)

Deprecate cub::Swap (#3333)

Clarify transform output can overlap input (#3323)

Drop CUB APIs with a debug_synchronous parameter (#3330)

Fixes: #3329

Drop CUB's util_compiler.cuh for real (#3340)

PR #3302 planned to drop the file, but only dropped its content. This
was an oversight. So let's drop the entire file.

Drop cub::ValueCache (#3346)

limits offset types for merge sort (#3328)

Drop CDPv1 (#3344)

Fixes: #3341

Drop thrust::void_t (#3362)

Use cuda::std::addressof in Thrust (#3363)

Fix all_of documentation for empty ranges (#3358)

all_of always returns true on an empty range.

[STF] Do not keep track of dangling events in a CUDA graph backend (#3327)

* Unlike the CUDA stream backend, nodes in a CUDA graph are necessarily done when
the CUDA graph completes. Therefore keeping track of "dangling events" is a
waste of time and resources.

* replace can_ignore_dangling_events by track_dangling_events which leads to more readable code

* When not storing the dangling events, we must still perform the deinit operations that were producing these events !

Extract scan kernels into NVRTC-compilable header (#3334)

* Extract scan kernels into NVRTC-compilable header

* Update cub/cub/device/dispatch/dispatch_scan.cuh

Co-authored-by: Georgii Evtushenko <[email protected]>

---------

Co-authored-by: Ashwin Srinath <[email protected]>
Co-authored-by: Georgii Evtushenko <[email protected]>

Drop deprecated aliases in Thrust functional (#3272)

Fixes: #3271

Drop cub::DivideAndRoundUp (#3347)

Use cuda::std::min/max in Thrust (#3364)

Implement `cuda::std::numeric_limits` for `__half` and `__nv_bfloat16` (#3361)

* implement `cuda::std::numeric_limits` for `__half` and `__nv_bfloat16`

Cleanup util_arch (#2773)

Deprecate thrust::null_type (#3367)

Deprecate cub::DeviceSpmv (#3320)

Fixes: #896

Improves `DeviceSegmentedSort` test run time for large number of items and segments (#3246)

* fixes segment offset generation

* switches to analytical verification

* switches to analytical verification for pairs

* fixes spelling

* adds tests for large number of segments

* fixes narrowing conversion in tests

* addresses review comments

* fixes includes

Compile basic infra test with C++17 (#3377)

Adds support for large number of items and large number of segments to `DeviceSegmentedSort` (#3308)

* fixes segment offset generation

* switches to analytical verification

* switches to analytical verification for pairs

* addresses review comments

* introduces segment offset type

* adds tests for large number of segments

* adds support for large number of segments

* drops segment offset type

* fixes thrust namespace

* removes about-to-be-deprecated cub iterators

* no exec specifier on defaulted ctor

* fixes gcc7 linker error

* uses local_segment_index_t throughout

* determine offset type based on type returned by segment iterator begin/end iterators

* minor style improvements

Exit with error when RAPIDS CI fails. (#3385)

cuda.parallel: Support structured types as algorithm inputs (#3218)

* Introduce gpu_struct decorator and typing

* Enable `reduce` to accept arrays of structs as inputs

* Add test for reducing arrays-of-struct

* Update documentation

* Use a numpy array rather than ctypes object

* Change zeros -> empty for output array and temp storage

* Add a TODO for typing GpuStruct

* Documentation udpates

* Remove test_reduce_struct_type from test_reduce.py

* Revert to `to_cccl_value()` accepting ndarray + GpuStruct

* Bump copyrights

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Deprecate thrust::async (#3324)

Fixes: #100

Review/Deprecate CUB `util.ptx` for CCCL 2.x (#3342)

Fix broken `_CCCL_BUILTIN_ASSUME` macro (#3314)

* add compiler-specific path
* fix device code path
* add _CCC_ASSUME

Deprecate thrust::numeric_limits (#3366)

Replace `typedef` with `using` in libcu++ (#3368)

Deprecate thrust::optional (#3307)

Fixes: #3306

Upgrade to Catch2 3.8  (#3310)

Fixes: #1724

refactor `<cuda/std/cstdint>` (#3325)

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

Update CODEOWNERS (#3331)

* Update CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS

* [pre-commit.ci] auto code formatting

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Fix sign-compare warning (#3408)

Implement more cmath functions to be usable on host and device (#3382)

* Implement more cmath functions to be usable on host and device

* Implement math roots functions

* Implement exponential functions

Redefine and deprecate thrust::remove_cvref (#3394)

* Redefine and deprecate thrust::remove_cvref

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Fix assert definition for NVHPC due to constexpr issues (#3418)

NVHPC cannot decide at compile time where the code would run so _CCCL_ASSERT within a constexpr function breaks it.

Fix this by always using the host definition which should also work on device.

Fixes #3411

Extend CUB reduce benchmarks (#3401)

* Rename max.cu to custom.cu, since it uses a custom operator
* Extend types covered my min.cu to all fundamental types
* Add some notes on how to collect tuning parameters

Fixes: #3283

Update upload-pages-artifact to v3 (#3423)

* Update upload-pages-artifact to v3

* Empty commit

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Replace and deprecate thrust::cuda_cub::terminate (#3421)

`std::linalg` accessors and `transposed_layout` (#2962)

Add round up/down to multiple (#3234)

[FEA]: Introduce Python module with CCCL headers (#3201)

* Add cccl/python/cuda_cccl directory and use from cuda_parallel, cuda_cooperative

* Run `copy_cccl_headers_to_aude_include()` before `setup()`

* Create python/cuda_cccl/cuda/_include/__init__.py, then simply import cuda._include to find the include path.

* Add cuda.cccl._version exactly as for cuda.cooperative and cuda.parallel

* Bug fix: cuda/_include only exists after shutil.copytree() ran.

* Use `f"cuda-cccl @ file://{cccl_path}/python/cuda_cccl"` in setup.py

* Remove CustomBuildCommand, CustomWheelBuild in cuda_parallel/setup.py (they are equivalent to the default functions)

* Replace := operator (needs Python 3.8+)

* Fix oversights: remove `pip3 install ./cuda_cccl` lines from README.md

* Restore original README.md: `pip3 install -e` now works on first pass.

* cuda_cccl/README.md: FOR INTERNAL USE ONLY

* Remove `$pymajor.$pyminor.` prefix in cuda_cccl _version.py (as suggested under https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894035917)

Command used: ci/update_version.sh 2 8 0

* Modernize pyproject.toml, setup.py

Trigger for this change:

* https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894043178

* https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894044996

* Install CCCL headers under cuda.cccl.include

Trigger for this change:

* https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894048562

Unexpected accidental discovery: cuda.cooperative unit tests pass without CCCL headers entirely.

* Factor out cuda_cccl/cuda/cccl/include_paths.py

* Reuse cuda_cccl/cuda/cccl/include_paths.py from cuda_cooperative

* Add missing Copyright notice.

* Add missing __init__.py (cuda.cccl)

* Add `"cuda.cccl"` to `autodoc.mock_imports`

* Move cuda.cccl.include_paths into function where it is used. (Attempt to resolve Build and Verify Docs failure.)

* Add # TODO: move this to a module-level import

* Modernize cuda_cooperative/pyproject.toml, setup.py

* Convert cuda_cooperative to use hatchling as build backend.

* Revert "Convert cuda_cooperative to use hatchling as build backend."

This reverts commit 61637d608da06fcf6851ef6197f88b5e7dbc3bbe.

* Move numpy from [build-system] requires -> [project] dependencies

* Move pyproject.toml [project] dependencies -> setup.py install_requires, to be able to use CCCL_PATH

* Remove copy_license() and use license_files=["../../LICENSE"] instead.

* Further modernize cuda_cccl/setup.py to use pathlib

* Trivial simplifications in cuda_cccl/pyproject.toml

* Further simplify cuda_cccl/pyproject.toml, setup.py: remove inconsequential code

* Make cuda_cooperative/pyproject.toml more similar to cuda_cccl/pyproject.toml

* Add taplo-pre-commit to .pre-commit-config.yaml

* taplo-pre-commit auto-fixes

* Use pathlib in cuda_cooperative/setup.py

* CCCL_PYTHON_PATH in cuda_cooperative/setup.py

* Modernize cuda_parallel/pyproject.toml, setup.py

* Use pathlib in cuda_parallel/setup.py

* Add `# TOML lint & format` comment.

* Replace MANIFEST.in with `[tool.setuptools.package-data]` section in pyproject.toml

* Use pathlib in cuda/cccl/include_paths.py

* pre-commit autoupdate (EXCEPT clang-format, which was manually restored)

* Fixes after git merge main

* Resolve warning: AttributeError: '_Reduce' object has no attribute 'build_result'

```
=========================================================================== warnings summary ===========================================================================
tests/test_reduce.py::test_reduce_non_contiguous
  /home/coder/cccl/python/devenv/lib/python3.12/site-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <function _Reduce.__del__ at 0x7bf123139080>

  Traceback (most recent call last):
    File "/home/coder/cccl/python/cuda_parallel/cuda/parallel/experimental/algorithms/reduce.py", line 132, in __del__
      bindings.cccl_device_reduce_cleanup(ctypes.byref(self.build_result))
                                                       ^^^^^^^^^^^^^^^^^
  AttributeError: '_Reduce' object has no attribute 'build_result'

    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================= 1 passed, 93 deselected, 1 warning in 0.44s ==============================================================
```

* Move `copy_cccl_headers_to_cuda_cccl_include()` functionality to `class CustomBuildPy`

* Introduce cuda_cooperative/constraints.txt

* Also add cuda_parallel/constraints.txt

* Add `--constraint constraints.txt` in ci/test_python.sh

* Update Copyright dates

* Switch to https://github.com/ComPWA/taplo-pre-commit (the other repo has been archived by the owner on Jul 1, 2024)

For completeness: The other repo took a long time to install into the pre-commit cache; so long it lead to timeouts in the CCCL CI.

* Remove unused cuda_parallel jinja2 dependency (noticed by chance).

* Remove constraints.txt files, advertise running `pip install cuda-cccl` first instead.

* Make cuda_cooperative, cuda_parallel testing completely independent.

* Run only test_python.sh [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Try using another runner (because V100 runners seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Fix sign-compare warning (#3408) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Revert "Try using another runner (because V100 runners seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]"

This reverts commit ea33a218ed77a075156cd1b332047202adb25aa2.

Error message: https://github.com/NVIDIA/cccl/pull/3201#issuecomment-2594012971

* Try using A100 runner (because V100 runners still seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Also show cuda-cooperative site-packages, cuda-parallel site-packages (after pip install) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Try using l4 runner (because V100 runners still seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Restore original ci/matrix.yaml [skip-rapids]

* Use for loop in test_python.sh to avoid code duplication.

* Run only test_python.sh [skip-rapids][skip-matx][skip-docs][skip-vdc][skip pre-commit.ci]

* Comment out taplo-lint in pre-commit config [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Revert "Run only test_python.sh [skip-rapids][skip-matx][skip-docs][skip-vdc][skip pre-commit.ci]"

This reverts commit ec206fd8b50a6a293e00a5825b579e125010b13d.

* Implement suggestion by @shwina (https://github.com/NVIDIA/cccl/pull/3201#pullrequestreview-2556918460)

* Address feedback by @leofang

---------

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

cuda.parallel: Add optional stream argument to reduce_into() (#3348)

* Add optional stream argument to reduce_into()

* Add tests to check for reduce_into() stream behavior

* Move protocol related utils to separate file and rework __cuda_stream__ error messages

* Fix synchronization issue in stream test and add one more invalid stream test case

* Rename cuda stream validation function after removing leading underscore

* Unpack values from __cuda_stream__ instead of indexing

* Fix linting errors

* Handle TypeError when unpacking invalid __cuda_stream__ return

* Use stream to allocate cupy memory in new stream test

Upgrade to actions/deploy-pages@v4 (from v2), as suggested by @leofang (#3434)

Deprecate `cub::{min, max}` and replace internal uses with those from libcu++ (#3419)

* Deprecate `cub::{min, max}` and replace internal uses with those from libcu++

Fixes #3404

move to c++17, finalize device optimization

fix msvc compilation, update tests

Deprectate C++11 and C++14 for libcu++ (#3173)

* Deprectate C++11 and C++14 for libcu++

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

Implement `abs` and `div` from `cstdlib` (#3153)

* implement integer abs functions
* improve tests, fix constexpr support
* just use the our implementation
* implement `cuda::std::div`
* prefer host's `div_t` like types
* provide `cuda::std::abs` overloads for floats
* allow fp abs for NVRTC
* silence msvc's warning about conversion from floating point to integral

Fix missing radix sort policies (#3174)

Fixes NVBug 5009941

Introduces new `DeviceReduce::Arg{Min,Max}` interface with two output iterators (#3148)

* introduces new arg{min,max} interface with two output iterators

* adds fp inf tests

* fixes docs

* improves code example

* fixes exec space specifier

* trying to fix deprecation warning for more compilers

* inlines unzip operator

* trying to fix deprecation warning for nvhpc

* integrates supression fixes in diagnostics

* pre-ctk 11.5 deprecation suppression

* fixes icc

* fix for pre-ctk11.5

* cleans up deprecation suppression

* cleanup

Extend tuning documentation (#3179)

Add codespell pre-commit hook, fix typos in CCCL (#3168)

* Add codespell pre-commit hook
* Automatic changes from codespell.
* Manual changes.

Fix parameter space for TUNE_LOAD in scan benchmark (#3176)

fix various old compiler checks (#3178)

implement C++26 `std::projected` (#3175)

Fix pre-commit config for codespell and remaining typos (#3182)

Massive cleanup of our config (#3155)

Fix UB in atomics with automatic storage (#2586)

* Adds specialized local cuda atomics and injects them into most atomics paths.

Co-authored-by: Georgy Evtushenko <[email protected]>
Co-authored-by: gonzalobg <[email protected]>

* Allow CUDA 12.2 to keep perf, this addresses earlier comments in #478

* Remove extraneous double brackets in unformatted code.

* Merge unsafe atomic logic into `__cuda_is_local`.

* Use `const_cast` for type conversions in cuda_local.h

* Fix build issues from interface changes

* Fix missing __nanosleep on sm70-

* Guard __isLocal from NVHPC

* Use PTX instead of running nothing from NVHPC

* fixup /s/nvrtc/nvhpc

* Fixup missing CUDA ifdef surrounding device code

* Fix codegen

* Bypass some sort of compiler bug on GCC7

* Apply suggestions from code review

* Use unsafe automatic storage atomics in codegen tests

---------

Co-authored-by: Georgy Evtushenko <[email protected]>
Co-authored-by: gonzalobg <[email protected]>
Co-authored-by: Michael Schellenberger Costa <[email protected]>

Refactor the source code layout for `cuda.parallel` (#3177)

* Refactor the source layout for cuda.parallel

* Add copyright

* Address review feedback

* Don't import anything into `experimental` namespace

* fix import

---------

Co-authored-by: Ashwin Srinath <[email protected]>

new type-erased memory resources (#2824)

s/_LIBCUDACXX_DECLSPEC_EMPTY_BASES/_CCCL_DECLSPEC_EMPTY_BASES/g (#3186)

Document address stability of `thrust::transform` (#3181)

* Do not document _LIBCUDACXX_MARK_CAN_COPY_ARGUMENTS
* Reformat and fix UnaryFunction/BinaryFunction in transform docs
* Mention transform can use proclaim_copyable_arguments
* Document cuda::proclaims_copyable_arguments better
* Deprecate depending on transform functor argument addresses

Fixes: #3053

turn off cuda version check for clangd (#3194)

[STF] jacobi example based on parallel_for (#3187)

* Simple jacobi example with parallel for and reductions

* clang-format

* remove useless capture list

fixes pre-nv_diag suppression issues (#3189)

Prefer c2h::type_name over c2h::demangle (#3195)

Fix memcpy_async* tests (#3197)

* memcpy_async_tx: Fix bug in test

Two bugs, one of which occurs in practice:

1. There is a missing fence.proxy.space::global between the writes to
   global memory and the memcpy_async_tx. (Occurs in practice)

2. The end of the kernel should be fenced with `__syncthreads()`,
   because the barrier is invalidated in the destructor. If other
   threads are still waiting on it, there will be UB. (Has not yet
   manifested itself)

* cp_async_bulk_tensor: Pre-emptively fence more in test

Add type annotations and mypy checks for `cuda.parallel`  (#3180)

* Refactor the source layout for cuda.parallel

* Add initial type annotations

* Update pre-commit config

* More typing

* Fix bad merge

* Fix TYPE_CHECKING and numpy annotations

* typing bindings.py correctly

* Address review feedback

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Fix rendering of cuda.parallel docs (#3192)

* Fix pre-commit config for codespell and remaining typos

* Fix rendering of docs for cuda.parallel

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Enable PDL for DeviceMergeSortBlockSortKernel (#3199)

The kernel already contains a call to _CCCL_PDL_GRID_DEPENDENCY_SYNC.
This commit enables PDL when launching the kernel.

Adds support for large `num_items` to `DeviceReduce::{ArgMin,ArgMax}` (#2647)

* adds benchmarks for reduce::arg{min,max}

* preliminary streaming arg-extremum reduction

* fixes implicit conversion

* uses streaming dispatch class

* changes arg benches to use new streaming reduce

* streaming arg-extrema reduction

* fixes style

* fixes compilation failures

* cleanups

* adds rst style comments

* declare vars const and use clamp

* consolidates argmin argmax benchmarks

* fixes thrust usage

* drops offset type in arg-extrema benchmarks

* fixes clang cuda

* exec space macros

* switch to signed global offset type for slightly better perf

* clarifies documentation

* applies minor benchmark style changes from review comments

* fixes interface documentation and comments

* list-init accumulating output op

* improves style, comments, and tests

* cleans up aggregate init

* renames dispatch class usage in benchmarks

* fixes merge conflicts

* addresses review comments

* addresses review comments

* fixes assertion

* removes superseded implementation

* changes large problem tests to use new interface

* removes obsolete tests for deprecated interface

Fixes for Python 3.7 docs environment (#3206)

Co-authored-by: Ashwin Srinath <[email protected]>

Adds support for large number of items to `DeviceTransform` (#3172)

* moves large problem test helper to common file

* adds support for large num items to device transform

* adds tests for large number of items to device interface

* fixes format

* addresses review comments

cp_async_bulk: Fix test (#3198)

* memcpy_async_tx: Fix bug in test

Two bugs, one of which occurs in practice:

1. There is a missing fence.proxy.space::global between the writes to
   global memory and the memcpy_async_tx. (Occurs in practice)

2. The end of the kernel should be fenced with `__syncthreads()`,
   because the barrier is invalidated in the destructor. If other
   threads are still waiting on it, there will be UB. (Has not yet
   manifested itself)

* cp_async_bulk_tensor: Pre-emptively fence more in test

* cp_async_bulk: Fix test

The global memory pointer could be misaligned.

cudax fixes for msvc 14.41 (#3200)

avoid instantiating class templates in `is_same` implementation when possible (#3203)

Fix: make launchers a CUB detail; make kernel source functions hidden. (#3209)

* Fix: make launchers a CUB detail; make kernel source functions hidden.

* [pre-commit.ci] auto code formatting

* Address review comments, fix which macro gets fixed.

help the ranges concepts recognize standard contiguous iterators in c++14/17 (#3202)

unify macros and cmake options that control the suppression of deprecation warnings (#3220)

* unify macros and cmake options that control the suppression of deprecation warnings

* suppress nvcc warning #186 in thrust header tests

* suppress c++ dialect deprecation warnings in libcudacxx header tests

Fx thread-reduce performance regression (#3225)

cuda.parallel: In-memory caching of build objects (#3216)

* Define __eq__ and __hash__ for Iterators

* Define cache_with_key utility and use it to cache Reduce objects

* Add tests for caching Reduce objects

* Tighten up types

* Updates to support 3.7

* Address review feedback

* Introduce IteratorKind to hold iterator type information

* Use the .kind to generate an abi_name

* Remove __eq__ and __hash__ methods from IteratorBase

* Move helper function

* Formatting

* Don't unpack tuple in cache key

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Just enough ranges for c++14 `span` (#3211)

use generalized concepts portability macros to simplify the `range` concept (#3217)

fixes some issues in the concepts portability macros and then re-implements the `range` concept with `_CCCL_REQUIRES_EXPR`

Use Ruff to sort imports (#3230)

* Update pyproject.tomls for import sorting

* Update files after running pre-commit

* Move ruff config to pyproject.toml

---------

Co-authored-by: Ashwin Srinath <[email protected]>

fix tuning_scan sm90 config issue (#3236)

Co-authored-by: Shijie Chen <[email protected]>

[STF] Logical token (#3196)

* Split the implementation of the void interface into the definition of the interface, and its implementations on streams and graphs.

* Add missing files

* Check if a task implementation can match a prototype where the void_interface arguments are ignored

* Implement ctx.abstract_logical_data() which relies on a void data interface

* Illustrate how to use abstract handles in local contexts

* Introduce an is_void_interface() virtual method in the data interface to potentially optimize some stages

* Small improvements in the examples

* Do not try to allocate or move void data

* Do not use I as a variable

* fix linkage error

* rename abtract_logical_data into logical_token

* Document logical token

* fix spelling error

* fix sphinx error

* reflect name changes

* use meaningful variable names

* simplify logical_token implementation because writeback is already disabled

* add a unit test for token elision

* implement token elision in host_launch

* Remove unused type

* Implement helpers to check if a function can be invoked from a tuple, or from a tuple where we removed tokens

* Much simpler is_tuple_invocable_with_filtered implementation

* Fix buggy test

* Factorize code

* Document that we can ignore tokens for task and host_launch

* Documentation for logical data freeze

Fix ReduceByKey tuning (#3240)

Fix RLE tuning (#3239)

cuda.parallel: Forbid non-contiguous arrays as inputs (or outputs) (#3233)

* Forbid non-contiguous arrays as inputs (or outputs)

* Implement a more robust way to check for contiguity

* Don't bother if cublas unavailable

* Fix how we check for zero-element arrays

* sort imports

---------

Co-authored-by: Ashwin Srinath <[email protected]>

expands support for more offset types in segmented benchmark (#3231)

Add escape hatches to the cmake configuration of the header tests so that we can tests deprecated compilers / dialects (#3253)

* Add escape hatches to the cmake configuration of the header tests so that we can tests deprecated compilers / dialects

* Do not add option twice

ptx: Add add_instruction.py (#3190)

This file helps create the necessary structure for new PTX instructions.

Co-authored-by: Allard Hendriksen <[email protected]>

Bump main to 2.9.0. (#3247)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Drop cub::Mutex (#3251)

Fixes: #3250

Remove legacy macros from CUB util_arch.cuh (#3257)

Fixes: #3256

Remove thrust::[unary|binary]_traits (#3260)

Fixes: #3259

Architecture and OS identification macros (#3237)

Bump main to 3.0.0. (#3265)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Drop thrust not1 and not2 (#3264)

Fixes: #3263

CCCL Internal macro documentation (#3238)

Deprecate GridBarrier and GridBarrierLifetime (#3258)

Fixes: #1389

Require at least gcc7 (#3268)

Fixes: #3267

Drop thrust::[unary|binary]_function (#3274)

Fixes: #3273

Drop ICC from CI (#3277)

[STF] Corruption of the capture list of an extended lambda with a parallel_for construct on a host execution place (#3270)

* Add a test to reproduce a bug observed with parallel_for on a host place

* clang-format

* use _CCCL_ASSERT

* Attempt to debug

* do not create a tuple with a universal reference that is out of scope when we use it, use an lvalue instead

* fix lambda expression

* clang-format

Enable thrust::identity test for non-MSVC (#3281)

This seems to be an oversight when the test was added

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Enable PDL in triple chevron launch (#3282)

It seems PDL was disabled by accident when _THRUST_HAS_PDL was renamed
to _CCCL_HAS_PDL during the review introducing the feature.

Disambiguate line continuations and macro continuations in <nv/target> (#3244)

Drop VS 2017 from CI (#3287)

Fixes: #3286

Drop ICC support in code (#3279)

* Drop ICC from code

Fixes: #3278

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Make CUB NVRTC commandline arguments come from a cmake template (#3292)

Propose the same components (thrust, cub, libc++, cudax, cuda.parallel,...) in the bug report template than in the feature request template (#3295)

Use process isolation instead of default hyper-v for Windows. (#3294)

Try improving build times by using process isolation instead of hyper-v

Co-authored-by: Michael Schellenberger Costa <[email protected]>

[pre-commit.ci] pre-commit autoupdate (#3248)

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/mirrors-clang-format: v18.1.8 → v19.1.6](https://github.com/pre-commit/mirrors-clang-format/compare/v18.1.8...v19.1.6)
- [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.6)
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.1)

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Drop Thrust legacy arch macros (#3298)

Which were disabled and could be re-enabled using THRUST_PROVIDE_LEGACY_ARCH_MACROS

Drop Thrust's compiler_fence.h (#3300)

Drop CTK 11.x from CI (#3275)

* Add cuda12.0-gcc7 devcontainer
* Move MSVC2017 jobs to CTK 12.6
Those is the only combination where rapidsai has devcontainers
* Add /Zc:__cplusplus for the libcudacxx tests
* Only add excape hatch for affected CTKs
* Workaround missing cudaLaunchKernelEx on MSVC
cudaLaunchKernelEx requires C++11, but unfortunately <cuda_runtime.h> checks this using the __cplusplus macro, which is reported wrongly for MSVC. CTK 12.3 fixed this by additionally detecting _MSV_VER. As a workaround, we provide our own copy of cudaLaunchKernelEx when it is not available from the CTK.
* Workaround nvcc+MSVC issue
* Regenerate devcontainers

Fixes: #3249

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Update packman and repo_docs versions (#3293)

Co-authored-by: Ashwin Srinath <[email protected]>

Drop Thrust's deprecated compiler macros (#3301)

Drop CUB_RUNTIME_ENABLED and __THRUST_HAS_CUDART__ (#3305)

Adds support for large number of items to `DevicePartition::If` with the `ThreeWayPartition` overload (#2506)

* adds support for large number of items to three-way partition

* adapts interface to use choose_signed_offset_t

* integrates applicable feedback from device-select pr

* changes behavior for empty problems

* unifies grid constant macro

* fixes kernel template specialization mismatch

* integrates _CCCL_GRID_CONSTANT changes

* resolve merge conflicts

* fixes checks in test

* fixes test verification

* improves tests

* makes few improvements to streaming dispatch

* improves code comment on test

* fixes unrelated compiler error

* minor style improvements

Refactor scan tunings (#3262)

Require C++17 for compiling Thrust and CUB (#3255)

* Issue an unsuppressable warning when compiling with < C++17
* Remove C++11/14 presets
* Remove CCCL_IGNORE_DEPRECATED_CPP_DIALECT from headers
* Remove [CUB|THRUST|TCT]_IGNORE_DEPRECATED_CPP_[11|14]
* Remove CUB_ENABLE_DIALECT_CPP[11|14]
* Update CI runs
* Remove C++11/14 CI runs for CUB and Thrust
* Raise compiler minimum versions for C++17
* Update ReadMe
* Drop Thrust's cpp14_required.h
* Add escape hatch for C++17 removal

Fixes: #3252

Implement `views::empty` (#3254)

* Disable pair conversion of subrange with clang in C++17

* Fix namespace views

* Implement `views::empty`

This implements `std::ranges::views::empty`, see https://en.cppreference.com/w/cpp/ranges/empty_view

Refactor `limits` and `climits` (#3221)

* implement builtins for huge val, nan and nans

* change `INFINITY` and `NAN` implementation for NVRTC

cuda.parallel: Add documentation for the current iterators along with examples and tests (#3311)

* Add tests demonstrating usage of different iterators

* Update documentation of reduce_into by merging import code snippet with the rest of the example

* Add documentation for current iterators

* Run pre-commit checks and update accordingly

* Fix comments to refer to the proper lines in the code snippets in the docs

Drop clang<14 from CI, update devcontainers. (#3309)

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

[STF] Cleanup task dependencies object constructors (#3291)

* Define tag types for access modes

* - Rework how we build task_dep objects based on access mode tags
- pack_state is now responsible for using a const_cast for read only data

* Greatly simplify the previous attempt : do not define new types, but use integral constants based on the enums

* It seems the const_cast was not necessarily so we can simplify it and not even do some dispatch based on access modes

Disable test with a gcc-14 regression (#3297)

Deprecate Thrust's cpp_compatibility.h macros (#3299)

Remove dropped function objects from docs (#3319)

Document `NV_TARGET` macros (#3313)

[STF] Define ctx.pick_stream() which was missing for the unified context (#3326)

* Define ctx.pick_stream() which was missing for the unified context

* clang-format

Deprecate cub::IterateThreadStore (#3337)

Drop CUB's BinaryFlip operator (#3332)

Deprecate cub::Swap (#3333)

Clarify transform output can overlap input (#3323)

Drop CUB APIs with a debug_synchronous parameter (#3330)

Fixes: #3329

Drop CUB's util_compiler.cuh for real (#3340)

PR #3302 planned to drop the file, but only dropped its content. This
was an oversight. So let's drop the entire file.

Drop cub::ValueCache (#3346)

limits offset types for merge sort (#3328)

Drop CDPv1 (#3344)

Fixes: #3341

Drop thrust::void_t (#3362)

Use cuda::std::addressof in Thrust (#3363)

Fix all_of documentation for empty ranges (#3358)

all_of always returns true on an empty range.

[STF] Do not keep track of dangling events in a CUDA graph backend (#3327)

* Unlike the CUDA stream backend, nodes in a CUDA graph are necessarily done when
the CUDA graph completes. Therefore keeping track of "dangling events" is a
waste of time and resources.

* replace can_ignore_dangling_events by track_dangling_events which leads to more readable code

* When not storing the dangling events, we must still perform the deinit operations that were producing these events !

Extract scan kernels into NVRTC-compilable header (#3334)

* Extract scan kernels into NVRTC-compilable header

* Update cub/cub/device/dispatch/dispatch_scan.cuh

Co-authored-by: Georgii Evtushenko <[email protected]>

---------

Co-authored-by: Ashwin Srinath <[email protected]>
Co-authored-by: Georgii Evtushenko <[email protected]>

Drop deprecated aliases in Thrust functional (#3272)

Fixes: #3271

Drop cub::DivideAndRoundUp (#3347)

Use cuda::std::min/max in Thrust (#3364)

Implement `cuda::std::numeric_limits` for `__half` and `__nv_bfloat16` (#3361)

* implement `cuda::std::numeric_limits` for `__half` and `__nv_bfloat16`

Cleanup util_arch (#2773)

Deprecate thrust::null_type (#3367)

Deprecate cub::DeviceSpmv (#3320)

Fixes: #896

Improves `DeviceSegmentedSort` test run time for large number of items and segments (#3246)

* fixes segment offset generation

* switches to analytical verification

* switches to analytical verification for pairs

* fixes spelling

* adds tests for large number of segments

* fixes narrowing conversion in tests

* addresses review comments

* fixes includes

Compile basic infra test with C++17 (#3377)

Adds support for large number of items and large number of segments to `DeviceSegmentedSort` (#3308)

* fixes segment offset generation

* switches to analytical verification

* switches to analytical verification for pairs

* addresses review comments

* introduces segment offset type

* adds tests for large number of segments

* adds support for large number of segments

* drops segment offset type

* fixes thrust namespace

* removes about-to-be-deprecated cub iterators

* no exec specifier on defaulted ctor

* fixes gcc7 linker error

* uses local_segment_index_t throughout

* determine offset type based on type returned by segment iterator begin/end iterators

* minor style improvements

Exit with error when RAPIDS CI fails. (#3385)

cuda.parallel: Support structured types as algorithm inputs (#3218)

* Introduce gpu_struct decorator and typing

* Enable `reduce` to accept arrays of structs as inputs

* Add test for reducing arrays-of-struct

* Update documentation

* Use a numpy array rather than ctypes object

* Change zeros -> empty for output array and temp storage

* Add a TODO for typing GpuStruct

* Documentation udpates

* Remove test_reduce_struct_type from test_reduce.py

* Revert to `to_cccl_value()` accepting ndarray + GpuStruct

* Bump copyrights

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Deprecate thrust::async (#3324)

Fixes: #100

Review/Deprecate CUB `util.ptx` for CCCL 2.x (#3342)

Fix broken `_CCCL_BUILTIN_ASSUME` macro (#3314)

* add compiler-specific path
* fix device code path
* add _CCC_ASSUME

Deprecate thrust::numeric_limits (#3366)

Replace `typedef` with `using` in libcu++ (#3368)

Deprecate thrust::optional (#3307)

Fixes: #3306

Upgrade to Catch2 3.8  (#3310)

Fixes: #1724

refactor `<cuda/std/cstdint>` (#3325)

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

Update CODEOWNERS (#3331)

* Update CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS

* [pre-commit.ci] auto code formatting

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Fix sign-compare warning (#3408)

Implement more cmath functions to be usable on host and device (#3382)

* Implement more cmath functions to be usable on host and device

* Implement math roots functions

* Implement exponential functions

Redefine and deprecate thrust::remove_cvref (#3394)

* Redefine and deprecate thrust::remove_cvref

Co-authored-by: Michael Schellenberger Costa <[email protected]>

Fix assert definition for NVHPC due to constexpr issues (#3418)

NVHPC cannot decide at compile time where the code would run so _CCCL_ASSERT within a constexpr function breaks it.

Fix this by always using the host definition which should also work on device.

Fixes #3411

Extend CUB reduce benchmarks (#3401)

* Rename max.cu to custom.cu, since it uses a custom operator
* Extend types covered my min.cu to all fundamental types
* Add some notes on how to collect tuning parameters

Fixes: #3283

Update upload-pages-artifact to v3 (#3423)

* Update upload-pages-artifact to v3

* Empty commit

---------

Co-authored-by: Ashwin Srinath <[email protected]>

Replace and deprecate thrust::cuda_cub::terminate (#3421)

`std::linalg` accessors and `transposed_layout` (#2962)

Add round up/down to multiple (#3234)

[FEA]: Introduce Python module with CCCL headers (#3201)

* Add cccl/python/cuda_cccl directory and use from cuda_parallel, cuda_cooperative

* Run `copy_cccl_headers_to_aude_include()` before `setup()`

* Create python/cuda_cccl/cuda/_include/__init__.py, then simply import cuda._include to find the include path.

* Add cuda.cccl._version exactly as for cuda.cooperative and cuda.parallel

* Bug fix: cuda/_include only exists after shutil.copytree() ran.

* Use `f"cuda-cccl @ file://{cccl_path}/python/cuda_cccl"` in setup.py

* Remove CustomBuildCommand, CustomWheelBuild in cuda_parallel/setup.py (they are equivalent to the default functions)

* Replace := operator (needs Python 3.8+)

* Fix oversights: remove `pip3 install ./cuda_cccl` lines from README.md

* Restore original README.md: `pip3 install -e` now works on first pass.

* cuda_cccl/README.md: FOR INTERNAL USE ONLY

* Remove `$pymajor.$pyminor.` prefix in cuda_cccl _version.py (as suggested under https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894035917)

Command used: ci/update_version.sh 2 8 0

* Modernize pyproject.toml, setup.py

Trigger for this change:

* https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894043178

* https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894044996

* Install CCCL headers under cuda.cccl.include

Trigger for this change:

* https://github.com/NVIDIA/cccl/pull/3201#discussion_r1894048562

Unexpected accidental discovery: cuda.cooperative unit tests pass without CCCL headers entirely.

* Factor out cuda_cccl/cuda/cccl/include_paths.py

* Reuse cuda_cccl/cuda/cccl/include_paths.py from cuda_cooperative

* Add missing Copyright notice.

* Add missing __init__.py (cuda.cccl)

* Add `"cuda.cccl"` to `autodoc.mock_imports`

* Move cuda.cccl.include_paths into function where it is used. (Attempt to resolve Build and Verify Docs failure.)

* Add # TODO: move this to a module-level import

* Modernize cuda_cooperative/pyproject.toml, setup.py

* Convert cuda_cooperative to use hatchling as build backend.

* Revert "Convert cuda_cooperative to use hatchling as build backend."

This reverts commit 61637d608da06fcf6851ef6197f88b5e7dbc3bbe.

* Move numpy from [build-system] requires -> [project] dependencies

* Move pyproject.toml [project] dependencies -> setup.py install_requires, to be able to use CCCL_PATH

* Remove copy_license() and use license_files=["../../LICENSE"] instead.

* Further modernize cuda_cccl/setup.py to use pathlib

* Trivial simplifications in cuda_cccl/pyproject.toml

* Further simplify cuda_cccl/pyproject.toml, setup.py: remove inconsequential code

* Make cuda_cooperative/pyproject.toml more similar to cuda_cccl/pyproject.toml

* Add taplo-pre-commit to .pre-commit-config.yaml

* taplo-pre-commit auto-fixes

* Use pathlib in cuda_cooperative/setup.py

* CCCL_PYTHON_PATH in cuda_cooperative/setup.py

* Modernize cuda_parallel/pyproject.toml, setup.py

* Use pathlib in cuda_parallel/setup.py

* Add `# TOML lint & format` comment.

* Replace MANIFEST.in with `[tool.setuptools.package-data]` section in pyproject.toml

* Use pathlib in cuda/cccl/include_paths.py

* pre-commit autoupdate (EXCEPT clang-format, which was manually restored)

* Fixes after git merge main

* Resolve warning: AttributeError: '_Reduce' object has no attribute 'build_result'

```
=========================================================================== warnings summary ===========================================================================
tests/test_reduce.py::test_reduce_non_contiguous
  /home/coder/cccl/python/devenv/lib/python3.12/site-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: <function _Reduce.__del__ at 0x7bf123139080>

  Traceback (most recent call last):
    File "/home/coder/cccl/python/cuda_parallel/cuda/parallel/experimental/algorithms/reduce.py", line 132, in __del__
      bindings.cccl_device_reduce_cleanup(ctypes.byref(self.build_result))
                                                       ^^^^^^^^^^^^^^^^^
  AttributeError: '_Reduce' object has no attribute 'build_result'

    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================= 1 passed, 93 deselected, 1 warning in 0.44s ==============================================================
```

* Move `copy_cccl_headers_to_cuda_cccl_include()` functionality to `class CustomBuildPy`

* Introduce cuda_cooperative/constraints.txt

* Also add cuda_parallel/constraints.txt

* Add `--constraint constraints.txt` in ci/test_python.sh

* Update Copyright dates

* Switch to https://github.com/ComPWA/taplo-pre-commit (the other repo has been archived by the owner on Jul 1, 2024)

For completeness: The other repo took a long time to install into the pre-commit cache; so long it lead to timeouts in the CCCL CI.

* Remove unused cuda_parallel jinja2 dependency (noticed by chance).

* Remove constraints.txt files, advertise running `pip install cuda-cccl` first instead.

* Make cuda_cooperative, cuda_parallel testing completely independent.

* Run only test_python.sh [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Try using another runner (because V100 runners seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Fix sign-compare warning (#3408) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Revert "Try using another runner (because V100 runners seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]"

This reverts commit ea33a218ed77a075156cd1b332047202adb25aa2.

Error message: https://github.com/NVIDIA/cccl/pull/3201#issuecomment-2594012971

* Try using A100 runner (because V100 runners still seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Also show cuda-cooperative site-packages, cuda-parallel site-packages (after pip install) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Try using l4 runner (because V100 runners still seem to be stuck) [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Restore original ci/matrix.yaml [skip-rapids]

* Use for loop in test_python.sh to avoid code duplication.

* Run only test_python.sh [skip-rapids][skip-matx][skip-docs][skip-vdc][skip pre-commit.ci]

* Comment out taplo-lint in pre-commit config [skip-rapids][skip-matx][skip-docs][skip-vdc]

* Revert "Run only test_python.sh [skip-rapids][skip-matx][skip-docs][skip-vdc][skip pre-commit.ci]"

This reverts commit ec206fd8b50a6a293e00a5825b579e125010b13d.

* Implement suggestion by @shwina (https://github.com/NVIDIA/cccl/pull/3201#pullrequestreview-2556918460)

* Address feedback by @leofang

---------

Co-authored-by: Bernhard Manfred Gruber <[email protected]>

cuda.parallel: Add optional stream argument to reduce_into() (#3348)

* Add optional stream argument to reduce_into()

* Add tests to check for reduce_into() stream behavior

* Move protocol related utils to separate file and rework __cuda_stream__ error messages

* Fix synchronization issue in stream test and add one more invalid stream test case

* Rename cuda stream validation function after removing leading underscore

* Unpack values from __cuda_stream__ instead of indexing

* Fix linting errors

* Handle TypeError when unpacking invalid __cuda_stream__ return

* Use stream to allocate cupy memory in new stream test

Upgrade to actions/deploy-pages@v4 (from v2), as suggested by @leofang (#3434)

Deprecate `cub::{min, max}` and replace internal uses with those from libcu++ (#3419)

* Deprecate `cub::{min, max}` and replace internal uses with those from libcu++

Fixes #3404

Fix CI issues (#3443)

update docs

fix review

restrict allowed types

replace constexpr implementations with generic

optimize `__is_arithmetic_integral`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add support for large num_items to cub::DeviceTransform

3 participants