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

Parameterize BLOCK_SIZE using sizeof(SIMD_type)

File:
1 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)
Note: See TracChangeset for help on using the changeset viewer.