Ignore:
Timestamp:
Apr 19, 2017, 10:57:56 AM (2 years ago)
Author:
cameron
Message:

Parabix driver can take ownership of kernelbuilder instances; uniquify mmap kernel name

File:
1 edited

Legend:

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

    r5409 r5414  
    7272    parabix::StreamSetBuffer * addBuffer(std::unique_ptr<parabix::StreamSetBuffer> b);
    7373   
     74    kernel::KernelBuilder * addKernelInstance(std::unique_ptr<kernel::KernelBuilder> kb);
     75   
    7476    void addKernelCall(kernel::KernelBuilder & kb, const std::vector<parabix::StreamSetBuffer *> & inputs, const std::vector<parabix::StreamSetBuffer *> & outputs);
     77    void makeKernelCall(kernel::KernelBuilder * kb, const std::vector<parabix::StreamSetBuffer *> & inputs, const std::vector<parabix::StreamSetBuffer *> & outputs);
    7578   
    7679    void generatePipelineIR();
     
    9194    llvm::ExecutionEngine *                 mEngine;
    9295    ParabixObjectCache *                    mCache;
    93     std::vector<kernel::KernelBuilder *>    mKernelList;
     96    std::vector<kernel::KernelBuilder *>    mPipeline;
    9497    // Owned kernels and buffers that will persist with this ParabixDriver instance.
    9598    std::vector<std::unique_ptr<kernel::KernelBuilder>> mOwnedKernels;
Note: See TracChangeset for help on using the changeset viewer.