Ignore:
Timestamp:
Dec 5, 2016, 1:08:23 PM (2 years ago)
Author:
cameron
Message:

Automate instance creation

File:
1 edited

Legend:

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

    r5217 r5220  
    340340        U16out.allocateBuffer();
    341341    }
    342     Value * s2pInstance = s2pk.createInstance({});
    343     Value * u8u16Instance = u8u16k.createInstance({});
    344     Value * delInstance = delK.createInstance({});
    345     Value * p2sInstance = p2sk.createInstance({});
    346     Value * stdoutInstance = stdoutK.createInstance({});
    347342
    348343    Type * pthreadTy = size_ty;
     
    369364
    370365    if (segmentPipelineParallel){
    371         generateSegmentParallelPipeline(iBuilder, {&s2pk, &u8u16k, &delK, &p2sk, &stdoutK}, {s2pInstance, u8u16Instance, delInstance, p2sInstance, stdoutInstance}, fileSize);
     366        generateSegmentParallelPipeline(iBuilder, {&s2pk, &u8u16k, &delK, &p2sk, &stdoutK}, fileSize);
    372367    } else {
    373         generatePipelineLoop(iBuilder, {&s2pk, &u8u16k, &delK, &p2sk, &stdoutK}, {s2pInstance, u8u16Instance, delInstance, p2sInstance, stdoutInstance}, fileSize);
     368        generatePipelineLoop(iBuilder, {&s2pk, &u8u16k, &delK, &p2sk, &stdoutK}, fileSize);
    374369    }
    375370
Note: See TracChangeset for help on using the changeset viewer.