Ignore:
Timestamp:
Jun 13, 2016, 11:12:08 AM (3 years ago)
Author:
cameron
Message:

s2p kernel with new infrastructure, includes s2p_FinalBlock

File:
1 edited

Legend:

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

    r5046 r5051  
    55#ifndef S2P_KERNEL_H
    66#define S2P_KERNEL_H
     7
     8#include "streamset.h"
     9#include "interface.h"
    710
    811namespace llvm { class Module; }
     
    1417class KernelBuilder;
    1518
    16     void generateS2PKernel(llvm::Module *, IDISA::IDISA_Builder * iBuilder, KernelBuilder * kBuilder);
    17     void generateS2P_16Kernel(llvm::Module *, IDISA::IDISA_Builder * iBuilder, KernelBuilder * kBuilder);
    18     void generateS2P_idealKernel(llvm::Module *, IDISA::IDISA_Builder * iBuilder, KernelBuilder * kBuilder);
     19void generateS2PKernel(llvm::Module *, IDISA::IDISA_Builder * iBuilder, KernelBuilder * kBuilder);
     20void generateS2P_16Kernel(llvm::Module *, IDISA::IDISA_Builder * iBuilder, KernelBuilder * kBuilder);
     21void generateS2P_idealKernel(llvm::Module *, IDISA::IDISA_Builder * iBuilder, KernelBuilder * kBuilder);
    1922
     23
     24
     25class s2pKernel : public KernelInterface {
     26public:
     27    s2pKernel(IDISA::IDISA_Builder * iBuilder) :
     28    KernelInterface(iBuilder, "s2p",
     29                    {StreamSetBinding{StreamSetType(1, 8), "byteStream"}},
     30                    {StreamSetBinding{StreamSetType(8, 1), "basisBits"}},
     31                    {}, {}, {}) {}
     32   
     33    std::unique_ptr<llvm::Module> createKernelModule() override;
     34
     35};
    2036}
    21 
    2237#endif
Note: See TracChangeset for help on using the changeset viewer.