T * alloc_to_device(size_t size)
Allocates memory on the CUDA device.
size_t seq_find_mismatch(const uintmax_t *const a, const uintmax_t *const b, size_t n)
Sequential implementation of finding the first mismatching word between two arrays.
uintmax_t * alloc_large_block_to_device(size_t max_n)
Allocates a large block of device memory for parallel mismatch operations.
size_t par_find_mismatch(const uintmax_t *const a, const uintmax_t *const b, size_t n)
GPU-accelerated implementation of finding the first mismatching word.