Ignore:
Timestamp:
Apr 10, 2017, 4:34:41 PM (2 years ago)
Author:
nmedfort
Message:

Moved toolchain and object_cache to kernels directory. Continued work on providing input consumed information.

File:
1 edited

Legend:

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

    r5401 r5402  
    131131    const std::vector<const parabix::StreamSetBuffer *> & getStreamSetInputBuffers() const { return mStreamSetInputBuffers; }
    132132
     133    const parabix::StreamSetBuffer * getStreamSetInputBuffer(const unsigned i) const { return mStreamSetInputBuffers[i]; }
     134
    133135    const std::vector<const parabix::StreamSetBuffer *> & getStreamSetOutputBuffers() const { return mStreamSetOutputBuffers; }
     136
     137    const parabix::StreamSetBuffer * getStreamSetOutputBuffer(const unsigned i) const { return mStreamSetOutputBuffers[i]; }
    134138
    135139    llvm::Value * createDoSegmentCall(const std::vector<llvm::Value *> & args) const;
     
    253257    }
    254258
     259    llvm::Value * getAvailableItemCount(const std::string & name) const;
     260
    255261    inline llvm::Value * getProcessedItemCount(const std::string & name) const {
    256262        return getProcessedItemCount(getSelf(), name);
     
    260266        setProcessedItemCount(getSelf(), name, value);
    261267    }
     268
     269    llvm::Value * getConsumedItemCount(const std::string & name) const;
    262270
    263271    llvm::Value * getTerminationSignal() const {
     
    333341                          std::vector<Binding> && internal_scalars);
    334342
    335     virtual ~SegmentOrientedKernel() { }
    336 
    337343};
    338344
     
    365371                        std::vector<Binding> && internal_scalars);
    366372
    367     virtual ~BlockOrientedKernel() { }
    368 
    369373private:
    370374
Note: See TracChangeset for help on using the changeset viewer.