Ignore:
Timestamp:
Oct 6, 2015, 8:43:55 PM (4 years ago)
Author:
cameron
Message:

Reset carries for each file

File:
1 edited

Legend:

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

    r4803 r4826  
    185185    engine->finalizeObject();
    186186   
     187    void * icgrep_init_carry_ptr = engine->getPointerToFunction(icgrep_IR->getParent()->getFunction("process_block_initialize_carries"));
    187188    void * icgrep_MCptr = engine->getPointerToFunction(icgrep_IR);
    188189   
    189190    if (icgrep_MCptr) {
    190         GrepExecutor grepEngine(icgrep_MCptr);
     191        GrepExecutor grepEngine(icgrep_init_carry_ptr, icgrep_MCptr);
    191192        grepEngine.setCountOnlyOption(CountOnly);
    192193        grepEngine.setNormalizeLineBreaksOption(NormalizeLineBreaks);
     
    205206    return 0;
    206207}
    207 
Note: See TracChangeset for help on using the changeset viewer.