Ignore:
Timestamp:
Oct 8, 2016, 7:33:08 PM (3 years ago)
Author:
cameron
Message:

Linear buffers; stdout_kernel; cache-aligned alloca, restructured u8u16, clean-ups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/stdout_kernel.h

    r5133 r5185  
    1818    stdOutKernel(IDISA::IDISA_Builder * iBuilder, unsigned codeUnitWidth) :
    1919    KernelBuilder(iBuilder, "stdout",
    20                   {StreamSetBinding{parabix::StreamSetType(1, codeUnitWidth), "codeUnitBuffer"}}, {}, {}, {}, {}) {
    21         mStreamType = PointerType::get(parabix::StreamSetType(1, codeUnitWidth).getStreamSetBlockType(iBuilder), 0);
    22         mScalarInputs = {ScalarBinding{mStreamType , "bufferPtr"}};
    23     }
     20                  {StreamSetBinding{parabix::StreamSetType(1, codeUnitWidth), "codeUnitBuffer"}}, {}, {}, {}, {}),
     21    mCodeUnitWidth(codeUnitWidth) {}
    2422   
    2523private:
    26     void prepareKernel() override;
     24    unsigned mCodeUnitWidth;
     25 
    2726    void generateDoBlockMethod() override;
    2827    void generateFinalBlockMethod() override;
    2928    void generateDoSegmentMethod() override;
    3029   
    31     llvm::Type * mStreamType;
    3230};
    3331}
Note: See TracChangeset for help on using the changeset viewer.