Ignore:
Timestamp:
May 7, 2017, 6:10:55 PM (2 years ago)
Author:
nmedfort
Message:

Minor correction to prevent editd from caching the pattern kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_kernel.h

    r5436 r5437  
    4444        return false;
    4545    }
    46 
    47     PabloKernel(const std::unique_ptr<kernel::KernelBuilder> & builder, std::string kernelName,
    48                 std::vector<Binding> stream_inputs = {},
    49                 std::vector<Binding> stream_outputs = {},
    50                 std::vector<Binding> scalar_parameters = {},
    51                 std::vector<Binding> scalar_outputs = {});
    5246
    5347    virtual ~PabloKernel();
     
    123117    }
    124118
     119    String * makeName(const llvm::StringRef & prefix) const;
     120
     121    Integer * getInteger(const int64_t value) const;
     122
    125123protected:
     124
     125    PabloKernel(const std::unique_ptr<kernel::KernelBuilder> & builder, std::string kernelName,
     126                std::vector<Binding> stream_inputs = {},
     127                std::vector<Binding> stream_outputs = {},
     128                std::vector<Binding> scalar_parameters = {},
     129                std::vector<Binding> scalar_outputs = {});
    126130
    127131    virtual void generatePabloMethod() = 0;
    128132
    129     String * makeName(const llvm::StringRef & prefix) const;
    130 
    131     Integer * getInteger(const int64_t value) const;
     133private:
    132134
    133135    // A custom method for preparing kernel declarations is needed,
Note: See TracChangeset for help on using the changeset viewer.