DistDir
Functions
Backend_cpu_tests

Functions

static void allocate_cpu_test01 (void **state __attribute__((unused)))
 Test01 of cpu allocator/deallocator. More...
 
static void packing_cpu_test01 (void **state __attribute__((unused)))
 Test01 of cpu packing. More...
 
static void unpacking_cpu_test01 (void **state __attribute__((unused)))
 Test01 of cpu unpacking. More...
 

Detailed Description

Tests of the backend CPU module

Function Documentation

◆ allocate_cpu_test01()

static void allocate_cpu_test01 ( void **state   __attribute__(unused))
static

Test01 of cpu allocator/deallocator.

Simply allocate and deallocate memory with allocator and deallocator vtable functions.

◆ packing_cpu_test01()

static void packing_cpu_test01 ( void **state   __attribute__(unused))
static

Test01 of cpu packing.

Fill buffer with trivial buffer index list. The packing functions just copy the data array into the buffer array. Integers, floats and doubles are tested.

◆ unpacking_cpu_test01()

static void unpacking_cpu_test01 ( void **state   __attribute__(unused))
static

Test01 of cpu unpacking.

Fill data with trivial buffer index list. The unpacking functions just copy the buffer array into the data array. Integers, floats and doubles are tested.