Ignore:
Timestamp:
Nov 3, 2018, 3:39:55 PM (9 months ago)
Author:
nmedfort
Message:

Potential bug fix for u32u8. CPUDriver only constructs the pass manager if uncached kernels exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/cpudriver.cpp

    r6184 r6187  
    105105        throw std::runtime_error("Could not selectTarget");
    106106    }
    107     preparePassManager();
    108 
    109107    #ifdef ORCJIT
    110108    mCompileLayer = make_unique<CompileLayerT>(mObjectLayer, orc::SimpleCompiler(*mTarget));
     
    227225
    228226void CPUDriver::generateUncachedKernels() {
     227    if (mUncachedKernel.empty()) return;
     228    preparePassManager();
    229229    for (auto & kernel : mUncachedKernel) {
    230230        kernel->prepareKernel(iBuilder);
Note: See TracChangeset for help on using the changeset viewer.