Changeset 2256 for proto


Ignore:
Timestamp:
Jul 13, 2012, 12:39:30 PM (7 years ago)
Author:
shiyangy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/xmlschema/validation_template_mulvec.cpp

    r2219 r2256  
    1717#include "../lib/perflib/perfsec.h"
    1818#include "../lib/s2p.hpp"
     19
     20// Define the mappings for pablo.assert_0(strm, errkind) statements which
     21// compile to the the form assert_0_error(errkind, strm)
     22#define assert_0_error(errkind, errstrm) error_tracker.NoteError(errkind, errstrm);
    1923
    2024#define VECTOR_WIDTH 8
     
    5660int previous_block_last_elem_start;
    5761
    58 LineColTracker tracker;
    59 TagMatcher<SEGMENT_SIZE,OVERLAP_BUFSIZE> matcher;
    6062ErrorTracker error_tracker;
    6163BitBlock EOF_mask = simd<1>::constant<1>();
     64
     65//////////////////////////////////////////////////////////////////////////////////////////
     66// Buffer Management // WARNING: Do Not update #defines. Results in TagMatcher errors.
     67//////////////////////////////////////////////////////////////////////////////////////////
     68#define PADDING_BLOCKS 0
     69#define PADDING_SIZE (BLOCK_SIZE * PADDING_BLOCKS)
     70#define COPYBACK_BLOCKS 2
     71#define COPYBACK_SIZE (BLOCK_SIZE * COPYBACK_BLOCKS)
     72#define LOOKAHEAD_BLOCKS 1
     73#define LOOKAHEAD_SIZE (BLOCK_SIZE * LOOKAHEAD_BLOCKS)
     74#define SEGMENT_BLOCKS  12 // WARNING: TagMatcher.hpp causes xmlconf test suite failures for SEGMENT_BLOCKS < 3.
     75#define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
     76#define BUFFER_SIZE (COPYBACK_SIZE + SEGMENT_SIZE + LOOKAHEAD_SIZE + PADDING_SIZE)
    6277
    6378BitBlock elem_starts;
     
    95110
    96111@global
     112
     113//////////////////////////////////////////////////////////////////////////////////////////
     114// Headers that depend @ global stream struct types.
     115//////////////////////////////////////////////////////////////////////////////////////////
     116#include "../lib/transpose.hpp"
     117#include <post_process.hpp>
    97118
    98119static inline void s2p_do_block(BytePack U8[], Basis_bits & basis_bits);
Note: See TracChangeset for help on using the changeset viewer.