Ignore:
Timestamp:
Sep 11, 2014, 4:02:00 PM (5 years ago)
Author:
linmengl
Message:

experimental support for BLOCK_SIZE 256 ready to test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r4149 r4151  
    3434#include <fcntl.h>
    3535
    36 
     36#if (BLOCK_SIZE == 128)
    3737#define SEGMENT_BLOCKS 7
     38#endif
     39
     40#if (BLOCK_SIZE == 256)
     41#define SEGMENT_BLOCKS 15
     42#endif
     43
    3844#define SEGMENT_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
    3945
     
    270276}
    271277
    272 
     278#if (BLOCK_SIZE == 256)
     279typedef BitStreamScanner<BitBlock, uint64_t, uint64_t, SEGMENT_BLOCKS> ScannerT;
     280#endif
     281
     282#if (BLOCK_SIZE == 128)
    273283typedef BitStreamScanner<BitBlock, uint32_t, uint32_t, SEGMENT_BLOCKS> ScannerT;
     284#endif
    274285
    275286//
Note: See TracChangeset for help on using the changeset viewer.