Ignore:
Timestamp:
Apr 28, 2017, 2:50:59 PM (2 years ago)
Author:
nmedfort
Message:

Refactored source kernels. icgrep from stdin should now be able to handle any file size.

File:
1 edited

Legend:

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

    r5425 r5429  
    135135    void releaseLogicalSegmentNo(llvm::Value * nextSegNo) const;
    136136
    137     llvm::Value * getConsumerState(const std::string & name) const;
    138 
    139137    // Get a parameter by name.
    140138    llvm::Argument * getParameter(llvm::Function * f, const std::string & name) const;
     
    258256    }
    259257
     258    llvm::BasicBlock * CreateWaitForConsumers() const;
    260259
    261260    llvm::BasicBlock * CreateBasicBlock(std::string && name) const;
     
    310309private:
    311310
    312     void setConsumerState(const std::string & name, llvm::Value * value) const;
     311    llvm::Value * getConsumerLock(const std::string & name) const;
     312
     313    void setConsumerLock(const std::string & name, llvm::Value * value) const;
    313314
    314315    llvm::Value * computeBlockIndex(const std::vector<Binding> & binding, const std::string & name, llvm::Value * itemCount) const;
Note: See TracChangeset for help on using the changeset viewer.