Ignore:
Timestamp:
Feb 13, 2017, 3:10:39 PM (2 years ago)
Author:
nmedfort
Message:

First version of expandable buffers + minor change to array-test to use them.

File:
1 edited

Legend:

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

    r5310 r5316  
    116116    ExternalFileBuffer ByteStream(iBuilder, byteStreamTy);
    117117    SingleBlockBuffer BasisBits(iBuilder, iBuilder->getStreamSetTy(8, 1));
    118     SingleBlockBuffer matches(iBuilder, iBuilder->getStreamSetTy(count, 1));
     118    ExpandableBuffer matches(iBuilder, iBuilder->getStreamSetTy(count, 1), 2);
    119119
    120120    MMapSourceKernel mmapK(iBuilder);
     
    152152    IDISA::IDISA_Builder * idb = IDISA::GetIDISA_Builder(M);
    153153
    154     llvm::Function * f = pipeline(idb, 10);
     154    llvm::Function * f = pipeline(idb, 2);
    155155
    156156    verifyModule(*M, &dbgs());
Note: See TracChangeset for help on using the changeset viewer.