cuDDL
Loading...
Searching...
No Matches
Namespaces | Functions
batch.cuh File Reference
#include <cuda_runtime.h>
#include <cuda/stream>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cuddl/detail/kernels.cuh>
#include <cuddl/device_span.cuh>
#include <cuddl/error.hpp>
#include <cuddl/pairwise_counts.cuh>

Go to the source code of this file.

Namespaces

namespace  cuddl
 Batch operations over contiguous device rows.
 

Functions

template<size_t BucketCount>
Result< void > cuddl::compare_batch_async (device_span< uint32_t const > left_rows, device_span< uint32_t const > right_rows, device_span< pairwise_summary > outputs, cuda::stream_ref stream)
 Compares corresponding rows from two contiguous register batches.
 
template<size_t BucketCount, typename Layout = default_register_layout>
Result< void > cuddl::cardinality_batch_async (device_span< uint32_t const > sketches, device_span< uint64_t > empty_out, device_span< double > estimates_out, cuda::stream_ref stream)
 Computes the cardinality of every stored sketch.
 
template<size_t BucketCount>
Result< void > cuddl::extract_scores_batch_async (device_span< uint32_t const > sketches, device_span< uint16_t > scores_out, cuda::stream_ref stream)
 Copies the winning score of every register into compact row-major scores.