Changeset 2166 for proto


Ignore:
Timestamp:
May 24, 2012, 11:17:39 PM (7 years ago)
Author:
ksherdy
Message:

Update buffer constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.cpp

    r2160 r2166  
    4343// Buffer Management
    4444//////////////////////////////////////////////////////////////////////////////////////////
    45 #include "../lib/buffer.hpp"
    46 
     45#define PADDING_BLOCKS 1
     46#define PADDING_SIZE (BLOCK_SIZE * PADDING_BLOCKS)
     47#define SEGMENT_BLOCKS  12
     48#define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
     49#define BUFFER_SIZE (SEGMENT_SIZE + PADDING_SIZE)
    4750#define OVERLAP_BUFSIZE PADDING_SIZE //sizeof(BitBlock)
    4851
     
    126129    BitBlock buf[(PADDING_SIZE + SEGMENT_SIZE + PADDING_SIZE)/sizeof(BitBlock)];
    127130    src_buf = (uint8_t *)buf + PADDING_SIZE;
    128 
    129     //ALLOC_STATIC_ALIGNED_BYTE_BUFFER(src_buf, (PADDING_SIZE + SEGMENT_SIZE + PADDING_SIZE));
    130131
    131132    buffer_base = buffer_pos;
Note: See TracChangeset for help on using the changeset viewer.