GENIE
genie::compression::DeviceDeltaCodec Class Reference

#include <DeviceCodecs.h>

Inheritance diagram for genie::compression::DeviceDeltaCodec:
genie::compression::DeviceIntegerCODEC

Public Member Functions

__device__ __host__ DeviceDeltaCodec ()
 
void encodeArray (uint32_t *in, const size_t length, uint32_t *out, size_t &nvalue)
 
const uint32_t * decodeArray (const uint32_t *in, const size_t length, uint32_t *out, size_t &nvalue)
 
__device__ const uint32_t * decodeArraySequential (const uint32_t *d_in, const size_t length, uint32_t *d_out, size_t &nvalue)
 
__device__ uint32_t * decodeArrayParallel (uint32_t *d_in, size_t length, uint32_t *d_out, size_t &nvalue)
 
std::string name () const
 
__device__ __host__ int decodeArrayParallel_maxBlocks ()
 
__device__ __host__ int decodeArrayParallel_minEffectiveLength ()
 
__device__ __host__ int decodeArrayParallel_lengthPerBlock ()
 
__device__ __host__ int decodeArrayParallel_threadsPerBlock ()
 
__device__ __host__ int decodeArrayParallel_threadLoad ()
 
- Public Member Functions inherited from genie::compression::DeviceIntegerCODEC
__device__ __host__ DeviceIntegerCODEC ()
 
__device__ const uint32_t * decodeArraySequential (const uint32_t *d_in, const size_t length, uint32_t *d_out, size_t &nvalue)
 
__device__ const uint32_t * decodeArrayParallel (const uint32_t *d_in, const size_t length, uint32_t *d_out, size_t &nvalue)
 

Detailed Description

Definition at line 167 of file DeviceCodecs.h.

Constructor & Destructor Documentation

◆ DeviceDeltaCodec()

__device__ __host__ genie::compression::DeviceDeltaCodec::DeviceDeltaCodec ( )
inline

Definition at line 171 of file DeviceCodecs.h.

Member Function Documentation

◆ decodeArray()

const uint32_t * genie::compression::DeviceDeltaCodec::decodeArray ( const uint32_t *  in,
const size_t  length,
uint32_t *  out,
size_t &  nvalue 
)
virtual

Implements genie::compression::DeviceIntegerCODEC.

Definition at line 98 of file DeviceCodecs.cu.

◆ decodeArrayParallel()

__device__ uint32_t * genie::compression::DeviceDeltaCodec::decodeArrayParallel ( uint32_t *  d_in,
size_t  length,
uint32_t *  d_out,
size_t &  nvalue 
)

Definition at line 122 of file DeviceCodecs.cu.

◆ decodeArrayParallel_lengthPerBlock()

__device__ __host__ int genie::compression::DeviceDeltaCodec::decodeArrayParallel_lengthPerBlock ( )
inlinevirtual

Maximal uncompressed (or compressed) size of the array the codec is able to process

Reimplemented from genie::compression::DeviceIntegerCODEC.

Definition at line 190 of file DeviceCodecs.h.

◆ decodeArrayParallel_maxBlocks()

__device__ __host__ int genie::compression::DeviceDeltaCodec::decodeArrayParallel_maxBlocks ( )
inlinevirtual

The amount of CUDA blocks this codec is able to operate on at the same time

Reimplemented from genie::compression::DeviceIntegerCODEC.

Definition at line 188 of file DeviceCodecs.h.

◆ decodeArrayParallel_minEffectiveLength()

__device__ __host__ int genie::compression::DeviceDeltaCodec::decodeArrayParallel_minEffectiveLength ( )
inlinevirtual

Minimal effective lenth of the compression

Reimplemented from genie::compression::DeviceIntegerCODEC.

Definition at line 189 of file DeviceCodecs.h.

◆ decodeArrayParallel_threadLoad()

__device__ __host__ int genie::compression::DeviceDeltaCodec::decodeArrayParallel_threadLoad ( )
inlinevirtual

Number of decompressed values extracted by a single thread

Reimplemented from genie::compression::DeviceIntegerCODEC.

Definition at line 192 of file DeviceCodecs.h.

◆ decodeArrayParallel_threadsPerBlock()

__device__ __host__ int genie::compression::DeviceDeltaCodec::decodeArrayParallel_threadsPerBlock ( )
inlinevirtual

Maximal number of threads per single block

Reimplemented from genie::compression::DeviceIntegerCODEC.

Definition at line 191 of file DeviceCodecs.h.

◆ decodeArraySequential()

__device__ const uint32_t * genie::compression::DeviceDeltaCodec::decodeArraySequential ( const uint32_t *  d_in,
const size_t  length,
uint32_t *  d_out,
size_t &  nvalue 
)

Definition at line 107 of file DeviceCodecs.cu.

◆ encodeArray()

void genie::compression::DeviceDeltaCodec::encodeArray ( uint32_t *  in,
const size_t  length,
uint32_t *  out,
size_t &  nvalue 
)
virtual

Implements genie::compression::DeviceIntegerCODEC.

Definition at line 90 of file DeviceCodecs.cu.

◆ name()

std::string genie::compression::DeviceDeltaCodec::name ( ) const
inlinevirtual

Reimplemented from genie::compression::DeviceIntegerCODEC.

Definition at line 186 of file DeviceCodecs.h.


The documentation for this class was generated from the following files: