Ignore:
Timestamp:
Apr 22, 2017, 4:03:25 PM (2 years ago)
Author:
nmedfort
Message:

Removed non-functional CUDA code from icgrep and consolidated grep and multigrep mode into a single function; allowed segment parallel pipeline to utilize process as its initial thread; modified MMapSourceKernel to map and perform mmap directly and advise the OS to drop consumed data streams.

File:
1 edited

Legend:

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

    r5414 r5418  
    1010#include <IR_Gen/idisa_builder.h>
    1111#include <llvm/IR/TypeBuilder.h>
     12#include <kernels/kernel.h>
     13#include <kernels/streamset.h>
    1214#include <boost/container/flat_map.hpp>
    1315
     
    1921namespace IDISA { class IDISA_Builder; }
    2022namespace kernel { class KernelBuilder; }
    21 //namespace parabix { class StreamSetBuffer; }
    22 #include <kernels/streamset.h>
     23
    2324class ParabixObjectCache;
    2425
     
    8283    void addExternalLink(kernel::KernelBuilder & kb, llvm::StringRef name, ExternalFunctionType * functionPtr) const;
    8384
    84     void addExternalLink(kernel::KernelBuilder & kb, llvm::StringRef name, llvm::FunctionType * type, void * functionPtr) const;
    85 
    8685    void linkAndFinalize();
    8786   
    8887    void * getPointerToMain();
     88
     89private:
     90
     91
     92    void addExternalLink(kernel::KernelBuilder & kb, llvm::StringRef name, llvm::FunctionType * type, void * functionPtr) const;
     93
    8994
    9095private:
     
    98103    std::vector<std::unique_ptr<kernel::KernelBuilder>> mOwnedKernels;
    99104    std::vector<std::unique_ptr<parabix::StreamSetBuffer>> mOwnedBuffers;
    100     ModuleMap                               mModuleMap;
    101105};
    102106
Note: See TracChangeset for help on using the changeset viewer.