Ignore:
Timestamp:
Aug 8, 2015, 10:29:08 AM (4 years ago)
Author:
cameron
Message:

Implementatation of the Pablo Count operation

File:
1 edited

Legend:

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

    r4715 r4720  
    5252    , mCarryPackBasePtr(nullptr)
    5353    , mCarryBitBlockPtr(nullptr)
     54    , mPopcountBasePtr(nullptr)
    5455    , mBlockNoPtr(nullptr)
    5556    , mBlockNo(nullptr)
     57    , mPabloCountCount(0)
    5658    , mTotalCarryDataBitBlocks(0)
    5759    {
     
    108110    void ensureCarriesStoredLocal();
    109111   
     112    Value * popCount(Value * to_count, unsigned globalIdx);
     113   
    110114private:
    111115    unsigned mPACK_SIZE;
     
    123127    Type * mCarryPackType;
    124128    Value * mCarryBitBlockPtr;
     129    Value * mPopcountBasePtr;
    125130    Value * mBlockNoPtr;
    126131    Value * mBlockNo;
     132    unsigned mPabloCountCount; // Number of Pablo "Count" operations
    127133    unsigned mTotalCarryDataBitBlocks;
    128134   
Note: See TracChangeset for help on using the changeset viewer.