Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

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

    r5202 r5217  
    2121    p2sKernel(IDISA::IDISA_Builder * iBuilder) :
    2222    KernelBuilder(iBuilder, "p2s",
    23                   {Binding{StreamSetType(iBuilder,8, 1), "basisBits"}},
    24                   {Binding{StreamSetType(iBuilder,1, 8), "byteStream"}},
     23                  {Binding{iBuilder->getStreamSetTy(8, 1), "basisBits"}},
     24                  {Binding{iBuilder->getStreamSetTy(1, 8), "byteStream"}},
    2525                  {}, {}, {}) {}
    2626   
     
    3434    p2sKernel_withCompressedOutput(IDISA::IDISA_Builder * iBuilder) :
    3535    KernelBuilder(iBuilder, "p2s_compress",
    36                   {Binding{StreamSetType(iBuilder,8, 1), "basisBits"}, Binding{StreamSetType(iBuilder,1, 1), "deletionCounts"}},
    37                   {Binding{StreamSetType(iBuilder,1, 8), "byteStream"}},
     36                  {Binding{iBuilder->getStreamSetTy(8, 1), "basisBits"}, Binding{iBuilder->getStreamSetTy(1, 1), "deletionCounts"}},
     37                  {Binding{iBuilder->getStreamSetTy(1, 8), "byteStream"}},
    3838                  {}, {}, {}) {}
    3939   
    4040private:
    41     void prepareKernel() override;
    4241    void generateDoBlockMethod() override;
    4342};
     
    4847    p2s_16Kernel(IDISA::IDISA_Builder * iBuilder) :
    4948    KernelBuilder(iBuilder, "p2s_16",
    50                   {Binding{StreamSetType(iBuilder,16, 1), "basisBits"}},
    51                   {Binding{StreamSetType(iBuilder,1, 16), "i16Stream"}},
     49                  {Binding{iBuilder->getStreamSetTy(16, 1), "basisBits"}},
     50                  {Binding{iBuilder->getStreamSetTy(1, 16), "i16Stream"}},
    5251                  {}, {}, {}) {}
    5352   
     
    6261    p2s_16Kernel_withCompressedOutput(IDISA::IDISA_Builder * iBuilder) :
    6362    KernelBuilder(iBuilder, "p2s_16_compress",
    64                   {Binding{StreamSetType(iBuilder,16, 1), "basisBits"}, Binding{StreamSetType(iBuilder,1, 1), "deletionCounts"}},
    65                   {Binding{StreamSetType(iBuilder,1, 16), "i16Stream"}},
     63                  {Binding{iBuilder->getStreamSetTy(16, 1), "basisBits"}, Binding{iBuilder->getStreamSetTy(1, 1), "deletionCounts"}},
     64                  {Binding{iBuilder->getStreamSetTy(1, 16), "i16Stream"}},
    6665                  {},
    6766                  {},
     
    6968       
    7069private:
    71     void prepareKernel() override;
    7270    void generateDoBlockMethod() override;
    7371    void generateFinalBlockMethod() override;
Note: See TracChangeset for help on using the changeset viewer.