Ignore:
Timestamp:
Jan 7, 2018, 1:45:23 PM (13 months ago)
Author:
cameron
Message:

s2p written using proposed Pablo PackL and PackH operations

File:
1 edited

Legend:

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

    r5690 r5822  
    77
    88#include "kernel.h"  // for KernelBuilder
     9
     10#ifdef PABLO_PACKING
     11#include <pablo/pablo_kernel.h>
     12#endif
     13
    914namespace IDISA { class IDISA_Builder; }  // lines 14-14
    1015namespace llvm { class Value; }
     
    3136};
    3237
     38#ifdef PABLO_PACKING
     39
     40class S2P_PabloKernel final : public pablo::PabloKernel {
     41public:
     42    S2P_PabloKernel(const std::unique_ptr<KernelBuilder> & b, unsigned codeUnitWidth);
     43    bool isCachable() const override { return true; }
     44    bool hasSignature() const override { return false; }
     45protected:
     46    void generatePabloMethod() override;
     47    unsigned mCodeUnitWidth;
     48};
     49#endif
     50
    3351}
    3452#endif
Note: See TracChangeset for help on using the changeset viewer.