Changeset 5462 for icGREP


Ignore:
Timestamp:
May 19, 2017, 3:56:51 PM (2 years ago)
Author:
lindanl
Message:

Some fixes.

Location:
icGREP/icgrep-devel/icgrep
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.cpp

    r5458 r5462  
    6464static std::vector<std::string> parsedPropertyValues;
    6565
    66 std::string IRFilename = "icgrep.ll";
    6766std::string PTXFilename = "icgrep.ptx";
    6867size_t * startPoints = nullptr;
     
    326325    }
    327326
    328 
    329     // StreamSetBuffer * MatchResults = pxDriver.addBuffer(make_unique<CircularBuffer>(idb, idb->getStreamSetTy(1, 1), segmentSize * bufferSegments));
    330     // kernel::Kernel * icgrepK = pxDriver.addKernelInstance(make_unique<kernel::ICGrepKernel>(idb, REs[0]));
    331     // pxDriver.makeKernelCall(icgrepK, {BasisBits, LineBreakStream}, {MatchResults});
    332 
    333327    kernel::MatchCount matchCountK(idb);
    334328    pxDriver.addKernelCall(matchCountK, {MergedResults}, {});
     
    344338    idb->CreateRetVoid();
    345339
    346     pxDriver.finalizeAndCompile(mainFunc, IRFilename, PTXFilename);
     340    pxDriver.finalizeAndCompile(mainFunc, PTXFilename);
    347341}
    348342
  • icGREP/icgrep-devel/icgrep/toolchain/NVPTXDriver.h

    r5458 r5462  
    4646    llvm::Function * LinkFunction(kernel::Kernel & kb, llvm::StringRef name, ExternalFunctionType * functionPtr) const;
    4747
    48     void finalizeAndCompile(llvm::Function * mainFunc, std::string IRFilename, std::string PTXFilename);
     48    void finalizeAndCompile(llvm::Function * mainFunc, std::string PTXFilename);
    4949   
    5050    void * getPointerToMain();
Note: See TracChangeset for help on using the changeset viewer.