Changeset 950


Ignore:
Timestamp:
Mar 17, 2011, 4:37:42 PM (8 years ago)
Author:
cameron
Message:

Parameterize BLOCK_SIZE using sizeof(SIMD_type)

Location:
proto/parabix2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.cpp

    r938 r950  
    66#include "../lib/lib_simd.h"
    77
    8 #define BLOCK_SIZE 128
     8#define BLOCK_SIZE (sizeof(SIMD_type) * 8)
    99#define SEGMENT_BLOCKS 26
    1010#define BUFFER_SIZE (BLOCK_SIZE * SEGMENT_BLOCKS)
  • proto/parabix2/template.c

    r827 r950  
    88
    99       
    10 #define BLOCK_SIZE 128
     10#define BLOCK_SIZE (sizeof(SIMD_type) * 8)
    1111#define BUFFER_SIZE (BLOCK_SIZE * 26)
    1212#define OVERLAP_BUFSIZE 16
Note: See TracChangeset for help on using the changeset viewer.