Ignore:
Timestamp:
May 1, 2018, 10:41:13 AM (18 months ago)
Author:
cameron
Message:

Multiblock field compress kernel, used in u8u16

File:
1 edited

Legend:

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

    r6004 r6006  
    3434    const unsigned mStreamCount;
    3535};
     36
     37    class FieldCompressKernel final : public MultiBlockKernel {
     38    public:
     39        FieldCompressKernel(const std::unique_ptr<kernel::KernelBuilder> & b, unsigned fw, unsigned streamCount);
     40        bool isCachable() const override { return true; }
     41        bool hasSignature() const override { return false; }
     42    protected:
     43        void generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & kb, llvm::Value * const numOfStrides) override;
     44    private:
     45        const unsigned mCompressFieldWidth;
     46        const unsigned mStreamCount;
     47    };
     48   
    3649
    3750/*
Note: See TracChangeset for help on using the changeset viewer.