Ignore:
Timestamp:
May 7, 2017, 4:34:48 PM (2 years ago)
Author:
nmedfort
Message:

Continued refactoring work. PabloKernel? now abstract base type with a 'generatePabloMethod' hook to generate Pablo code.

File:
1 edited

Legend:

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

    r5435 r5436  
    55
    66#include "s2p_kernel.h"
    7 #include <IR_Gen/idisa_builder.h>  // for IDISA_Builder
    8 #include <llvm/IR/Constant.h>      // for Constant
    9 #include <llvm/IR/Module.h>
     7#include <kernels/kernel_builder.h>
    108#include <llvm/Support/raw_ostream.h>
    11 namespace llvm { class BasicBlock; }
    12 namespace llvm { class Function; }
    13 namespace llvm { class Value; }
    149
    1510using namespace llvm;
     
    167162}
    168163
    169 S2PKernel::S2PKernel(const std::unique_ptr<IDISA::IDISA_Builder> & b, bool aligned)
     164S2PKernel::S2PKernel(const std::unique_ptr<KernelBuilder> & b, bool aligned)
    170165: BlockOrientedKernel(aligned ? "s2p" : "s2p_unaligned",
    171166    {Binding{b->getStreamSetTy(1, 8), "byteStream"}}, {Binding{b->getStreamSetTy(8, 1), "basisBits"}}, {}, {}, {}),
Note: See TracChangeset for help on using the changeset viewer.