| 236 | } |
| 237 | |
| 238 | void Hashing32::HashVarLen(int64_t hardware_flags, bool combine_hashes, uint32_t num_rows, |
| 239 | const uint32_t* offsets, const uint8_t* concatenated_keys, |
| 240 | uint32_t* hashes, uint32_t* hashes_temp_for_combine) { |
| 241 | uint32_t num_processed = 0; |
| 242 | #if defined(ARROW_HAVE_RUNTIME_AVX2) |
| 243 | if (hardware_flags & arrow::internal::CpuInfo::AVX2) { |
| 244 | num_processed = HashVarLen_avx2(combine_hashes, num_rows, offsets, concatenated_keys, |
| 245 | hashes, hashes_temp_for_combine); |
| 246 | } |
| 247 | #endif |
| 248 | if (combine_hashes) { |
| 249 | HashVarLenImp<uint32_t, true>(num_rows - num_processed, offsets + num_processed, |
| 250 | concatenated_keys, hashes + num_processed); |
| 251 | } else { |
| 252 | HashVarLenImp<uint32_t, false>(num_rows - num_processed, offsets + num_processed, |
| 253 | concatenated_keys, hashes + num_processed); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | void Hashing32::HashVarLen(int64_t hardware_flags, bool combine_hashes, uint32_t num_rows, |
| 258 | const uint64_t* offsets, const uint8_t* concatenated_keys, |
nothing calls this directly
no outgoing calls
no test coverage detected