Ignore:
Timestamp:
Feb 23, 2016, 9:07:05 AM (3 years ago)
Author:
lindanl
Message:

new version using the kernels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/carry_manager.h

    r4927 r4939  
    1313#include <pablo/carry_data.h>
    1414#include <llvm/IR/Constants.h>
    15 
     15#include "../kernels/kernel.h"
    1616
    1717/*
     
    5353    , mTotalCarryDataBitBlocks(0)
    5454    , mCarryDataAllocationSize(0)
     55    , mFilePosIdx(2)
    5556    {
    5657
     
    5960    ~CarryManager();
    6061   
    61     void initialize(Module * m, PabloBlock * blk);
     62    void initialize(PabloBlock * blk, KernelBuilder * kBuilder);
     63
     64    void initialize_setPtrs(KernelBuilder * kBuilder);
     65
     66    void set_BlockNo(KernelBuilder * kBuilder);
    6267   
    6368    void generateCarryDataInitializer(Module * m);
     
    155160    std::vector<Value *> mCarryOutPack;
    156161    std::vector<Value *> mCarrySummary;
     162    int mCdArrayIdx;
     163    int mPcArrayIdx;
     164    int mFilePosIdx;
    157165};
    158166
Note: See TracChangeset for help on using the changeset viewer.