#include <cppunit/TestAssert.h>
#include <qa_complex_dotprod_x86.h>
#include <complex_dotprod_x86.h>
#include <string.h>
#include <iostream>
#include <malloc16.h>
#include <sse_debug.h>
#include <cmath>
#include <gr_cpu.h>
#include <random.h>
Defines | |
#define | assertcomplexEqual(expected0, expected1, actual, delta) |
Macro for primitive value comparisons. | |
#define | MAX_BLKS 10 |
#define | FLOATS_PER_BLK 4 |
#define | SHORTS_PER_BLK 2 |
#define | ERR_DELTA (1e-6) |
Functions | |
void | ref_complex_dotprod (const short *input, const float *taps, unsigned n_2_complex_blocks, float *result) |
#define assertcomplexEqual | ( | expected0, | |||
expected1, | |||||
actual, | |||||
delta | ) |
Value:
CPPUNIT_ASSERT_DOUBLES_EQUAL (expected0, actual[0], delta); \ CPPUNIT_ASSERT_DOUBLES_EQUAL (expected1, actual[1], delta);
#define ERR_DELTA (1e-6) |
#define FLOATS_PER_BLK 4 |
#define MAX_BLKS 10 |
#define SHORTS_PER_BLK 2 |
void ref_complex_dotprod | ( | const short * | input, | |
const float * | taps, | |||
unsigned | n_2_complex_blocks, | |||
float * | result | |||
) |