Ignore:
Timestamp:
Sep 21, 2017, 3:10:34 PM (2 years ago)
Author:
nmedfort
Message:

Minor clean up. Bug fix for object cache when the same cached kernel is used twice in a single run. Improvement to RE Minimizer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/cc_compiler.cpp

    r5620 r5646  
    2020namespace cc {
    2121
    22 //    CC_Compiler::CC_Compiler(PabloKernel * kernel, const unsigned encodingBits, const std::string prefix)
    23 //    : mBuilder(kernel->getEntryBlock())
    24 //    , mEncodingBits(encodingBits)
    25 //    , mBasisBit(encodingBits) {
    26        
    27 //        // TODO: basisBits should be defined prior and only retrieved here.
    28 //        Var * const basisBits = kernel->addInput(prefix, kernel->getStreamSetTy(encodingBits));
    29 //        for (unsigned i = 0; i != mEncodingBits; i++) {
    30 //            mBasisBit[i] = mBuilder.createExtract(basisBits, mBuilder.getInteger(i)); assert (mBasisBit[i]);
    31 //        }
    32 //        mEncodingMask = (static_cast<unsigned>(1) << encodingBits) - static_cast<unsigned>(1);
    33 //    }
    34    
    35    
    3622CC_Compiler::CC_Compiler(pablo::PabloKernel * kernel, pablo::Var * basisBits)
    3723: mBuilder(kernel->getEntryBlock())
Note: See TracChangeset for help on using the changeset viewer.