Ignore:
Timestamp:
May 13, 2018, 9:40:44 PM (11 months ago)
Author:
cameron
Message:

StreamCompressionCompiler? initial check-in

File:
1 edited

Legend:

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

    r6031 r6037  
    88#include "kernel.h"
    99#include <llvm/IR/Value.h>
     10#include <toolchain/driver.h>
     11
    1012namespace IDISA { class IDISA_Builder; }
    1113
    1214namespace kernel {
     15
     16class StreamFilterCompiler {
     17public:
     18    StreamFilterCompiler(Driver & driver, llvm::Type * streamSetType, unsigned bufferBlocks = 0) :
     19    mDriver(driver), ssType(streamSetType), mBufferBlocks(bufferBlocks), mIntraFieldCompressionWidth(64) {}
     20    void setIntraFieldCompressionWidth(unsigned fw) {mIntraFieldCompressionWidth = fw;}
     21    void makeCall(parabix::StreamSetBuffer * mask, parabix::StreamSetBuffer * inputs, parabix::StreamSetBuffer * outputs);
     22private:
     23    Driver & mDriver;
     24    llvm::Type * ssType;
     25    unsigned mBufferBlocks;
     26    unsigned mIntraFieldCompressionWidth;
     27};
    1328
    1429//
Note: See TracChangeset for help on using the changeset viewer.