1 // See LICENSE for license details.
3 //**************************************************************************
4 // Median filter bencmark
5 //--------------------------------------------------------------------------
7 // This benchmark performs a 1D three element median filter. The
8 // input data (and reference data) should be generated using the
9 // median_gendata.pl perl script and dumped to a file named
16 //--------------------------------------------------------------------------
17 // Input/Reference Data
21 //--------------------------------------------------------------------------
24 int main( int argc
, char* argv
[] )
26 int results_data
[DATA_SIZE
];
29 // If needed we preallocate everything in the caches
30 median( DATA_SIZE
, input_data
, results_data
);
35 median( DATA_SIZE
, input_data
, results_data
);
39 return verify( DATA_SIZE
, results_data
, verify_data
);