Ignore:
Timestamp:
Nov 25, 2016, 10:46:14 AM (3 years ago)
Author:
cameron
Message:

radix64 kernels in progress

File:
1 moved

Legend:

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

    r5217 r5219  
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 */
    5 #ifndef EXPAND3_4_H
    6 #define EXPAND3_4_H
     5#ifndef RADIX64_H
     6#define RADIX64_H
    77
    88#include "streamset.h"
     
    2525    expand3_4Kernel(IDISA::IDISA_Builder * iBuilder) :
    2626    KernelBuilder(iBuilder, "expand3_4",
    27                   {Binding{parabix::StreamSetType(iBuilder, 1, parabix::i8), "sourceStream"}},
    28                   {Binding{parabix::StreamSetType(iBuilder, 1, parabix::i8), "expandedStream"}},
    29                   {}, {},
    30                   {Binding{iBuilder->fwVectorType(parabix::i8), "pendingPack"}}) {}
    31    
     27                  {Binding{iBuilder->getStreamSetTy(1, 8), "sourceStream"}},
     28                  {Binding{iBuilder->getStreamSetTy(1, 8), "expandedStream"}},
     29                  {}, {}, {}) {}
    3230   
    3331private:
     
    3735};
    3836
     37class radix64Kernel : public KernelBuilder {
     38public:
    3939   
     40    radix64Kernel(IDISA::IDISA_Builder * iBuilder) :
     41    KernelBuilder(iBuilder, "expand3_4",
     42                  {Binding{iBuilder->getStreamSetTy(1, 8), "expandedStream"}},
     43                  {Binding{iBuilder->getStreamSetTy(1, 8), "radix64stream"}},
     44                  {}, {}, {}) {}
     45   
     46private:
     47    void generateDoBlockLogic() override;
     48   
     49};
     50
     51class base64Kernel : public KernelBuilder {
     52public:
     53   
     54    base64Kernel(IDISA::IDISA_Builder * iBuilder) :
     55    KernelBuilder(iBuilder, "expand3_4",
     56                  {Binding{iBuilder->getStreamSetTy(1, 8), "radix64stream"}},
     57                  {Binding{iBuilder->getStreamSetTy(1, 8), "base64stream"}},
     58                  {}, {}, {}) {}
     59   
     60private:
     61    void generateDoBlockLogic() override;
     62    void generateFinalBlockMethod() override;
     63   
     64};
    4065
    4166}
Note: See TracChangeset for help on using the changeset viewer.