Commit 1ee5878
authored
Avoid creating null mask in groupby aggregation
This stops creating a null mask during the computation of groupby aggregation `M2`, similar to #20716. Such null mask is unnecessary as `M2` values are used together with valid count which already contains enough information for further computation (for `std`/`variance`).
Authors:
- Nghia Truong (https://github.com/ttnghia)
Approvers:
- David Wendt (https://github.com/davidwendt)
- Bradley Dice (https://github.com/bdice)
- Gera Shegalov (https://github.com/gerashegalov)
- Alfred Xu (https://github.com/sperlingxx)
URL: #20726M2 (#20726)1 parent cf32713 commit 1ee5878
4 files changed
Lines changed: 5 additions & 12 deletions
File tree
- cpp
- src/groupby
- common
- sort
- tests/groupby
- java/src/test/java/ai/rapids/cudf
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 104 | | |
111 | 105 | | |
112 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7804 | 7804 | | |
7805 | 7805 | | |
7806 | 7806 | | |
7807 | | - | |
| 7807 | + | |
7808 | 7808 | | |
7809 | 7809 | | |
7810 | 7810 | | |
| |||
0 commit comments