Ignore:
Timestamp:
Jan 28, 2017, 3:12:03 PM (2 years ago)
Author:
nmedfort
Message:

Start of work to simplify kernel writing. Removed generateDoBlockLogic method.

File:
1 edited

Legend:

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

    r5283 r5285  
    1515public:
    1616    P2SKernel(IDISA::IDISA_Builder * iBuilder);
    17    
    1817private:
    19     void generateDoBlockMethod() const override;
    20    
     18    void generateDoBlockMethod(llvm::Function * function, llvm::Value * self, llvm::Value * blockNo) const override;
    2119};
    2220
     
    2523    P2SKernelWithCompressedOutput(IDISA::IDISA_Builder * iBuilder);   
    2624private:
    27     void generateDoBlockMethod() const override;
     25    void generateDoBlockMethod(llvm::Function * function, llvm::Value * self, llvm::Value * blockNo) const override;
    2826};
    29    
    3027
    3128class P2S16Kernel : public BlockOrientedKernel {
     
    3330    P2S16Kernel(IDISA::IDISA_Builder * iBuilder);   
    3431private:
    35     void generateDoBlockMethod() const override;
    36    
     32    void generateDoBlockMethod(llvm::Function * function, llvm::Value * self, llvm::Value * blockNo) const override;
    3733};
    38 
    3934   
    4035class P2S16KernelWithCompressedOutput : public BlockOrientedKernel {
    4136public:
    4237    P2S16KernelWithCompressedOutput(IDISA::IDISA_Builder * iBuilder);
    43        
    4438private:
    45     void generateDoBlockMethod() const override;
    46     void generateFinalBlockMethod() const override;
     39    void generateDoBlockMethod(llvm::Function * function, llvm::Value * self, llvm::Value * blockNo) const override;
    4740};
    4841   
Note: See TracChangeset for help on using the changeset viewer.