|
HDK
|
Functions | |
| __hostdev__ void | initLut (uint32_t lut[256], uint32_t n) |
| Initiate single entry in look-up-table for CRC32 computations. More... | |
| __hostdev__ void | initLut (uint32_t lut[256]) |
| Initiate entire look-up-table for CRC32 computations. More... | |
| std::unique_ptr< uint32_t[]> | createLut () |
| Create and initiate entire look-up-table for CRC32 computations. More... | |
| __hostdev__ uint32_t | checksum (const void *data, size_t size, uint32_t crc=0) |
Compute crc32 checksum of data of size bytes (without a lookup table)) More... | |
| __hostdev__ uint32_t | checksum (const void *begin, const void *end, uint32_t crc=0) |
Compute crc32 checksum of data between begin and end. More... | |
| __hostdev__ uint32_t | checksum (const void *data, size_t size, const uint32_t lut[256], uint32_t crc=0) |
Compute crc32 checksum of data with size bytes using a lookup table. More... | |
| __hostdev__ uint32_t | checksum (const void *begin, const void *end, const uint32_t lut[256], uint32_t crc=0) |
Compute crc32 checksum of data between begin and end using a lookup table. More... | |
|
inline |
Compute crc32 checksum of data of size bytes (without a lookup table))
| data | pointer to beginning of data |
| size | byte size of data |
| crc | initial value of crc32 checksum |
data Definition at line 96 of file GridChecksum.h.
|
inline |
Compute crc32 checksum of data between begin and end.
| begin | points to beginning of data |
| end | points to end of , (exclusive) |
| crc | initial value of crc32 checksum |
Definition at line 111 of file GridChecksum.h.
|
inline |
Compute crc32 checksum of data with size bytes using a lookup table.
| data | pointer to begenning of data |
| size | byte size |
| lut | pointer to loopup table for accelerated crc32 computation |
| crc | initial value of the checksum |
data with size bytes Definition at line 124 of file GridChecksum.h.
|
inline |
Compute crc32 checksum of data between begin and end using a lookup table.
| begin | points to beginning of data |
| end | points to end of , (exclusive) |
| lut | pointer to loopup table for accelerated crc32 computation |
| crc | initial value of crc32 checksum |
Definition at line 137 of file GridChecksum.h.
|
inline |
Create and initiate entire look-up-table for CRC32 computations.
Definition at line 84 of file GridChecksum.h.
|
inline |
Initiate single entry in look-up-table for CRC32 computations.
| lut | pointer of size 256 for look-up-table |
| n | entry in table (assumed n < 256) |
Definition at line 72 of file GridChecksum.h.
|
inline |
Initiate entire look-up-table for CRC32 computations.
| lut | pointer of size 256 for look-up-table |
Definition at line 80 of file GridChecksum.h.