Ignore:
Timestamp:
May 6, 2018, 1:46:57 PM (12 months ago)
Author:
cameron
Message:

PEXTFieldCompressKernel

File:
1 edited

Legend:

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

    r6013 r6018  
    4444private:
    4545    const unsigned mCompressFieldWidth;
     46    const unsigned mStreamCount;
     47};
     48
     49class PEXTFieldCompressKernel final : public MultiBlockKernel {
     50public:
     51    PEXTFieldCompressKernel(const std::unique_ptr<kernel::KernelBuilder> & b, unsigned fw, unsigned streamCount);
     52    bool isCachable() const override { return true; }
     53    bool hasSignature() const override { return false; }
     54protected:
     55    void generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & kb, llvm::Value * const numOfStrides) override;
     56private:
     57    const unsigned mPEXTWidth;
    4658    const unsigned mStreamCount;
    4759};
Note: See TracChangeset for help on using the changeset viewer.