Ignore:
Timestamp:
Mar 23, 2015, 8:37:57 PM (4 years ago)
Author:
cameron
Message:

Restructure to use a single process_block_state data area

File:
1 edited

Legend:

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

    r4537 r4538  
    5454
    5555struct CompiledPabloFunction {
    56     const unsigned      CarryQueueSize;
    57     const unsigned      AdvanceQueueSize;
     56    const size_t        CarryDataSize;
    5857    void * const        FunctionPointer;
    5958private:
     
    6160    ExecutionEngine *   mExecutionEngine;
    6261public:
    63     CompiledPabloFunction(unsigned carryQSize, unsigned advanceQSize, Function * function, ExecutionEngine * executionEngine);
     62    CompiledPabloFunction(size_t carryDataSize, Function * function, ExecutionEngine * executionEngine);
    6463
    6564    inline CompiledPabloFunction(CompiledPabloFunction && cpf)
    66     : CarryQueueSize(cpf.CarryQueueSize)
    67     , AdvanceQueueSize(cpf.AdvanceQueueSize)
     65    : CarryDataSize(cpf.CarryDataSize)
    6866    , FunctionPointer(cpf.FunctionPointer)
    6967    , mFunction(cpf.mFunction)
     
    149147
    150148    unsigned                            mCarryQueueIdx;
    151     Value*                              mCarryQueuePtr;
     149    Value*                              mCarryDataPtr;
    152150    unsigned                            mNestingDepth;
    153151    unsigned                            mCarryQueueSize;
    154152
    155153    unsigned                            mAdvanceQueueIdx;
    156     Value*                              mAdvanceQueuePtr;
    157154    unsigned                            mAdvanceQueueSize;
    158155
Note: See TracChangeset for help on using the changeset viewer.