Ignore:
Timestamp:
May 17, 2018, 3:41:00 PM (14 months ago)
Author:
nmedfort
Message:

Major refactoring of buffer types. Static buffers replace Circular and CircularCopyback?. External buffers unify Source/External?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/lz4/lz4_bitstream_match_copy_kernel.cpp

    r6039 r6047  
    3838        Constant* SIZE_1 = iBuilder->getSize(1);
    3939        Value* SIZE_64 = iBuilder->getSize(64); // maybe need to handle 32 bit machine
    40         Value* SIZE_INPUT_64_COUNT = iBuilder->getSize(this->getInputStreamSetBuffer(inputName)->getBufferBlocks() * iBuilder->getBitBlockWidth() / 64);
     40        Value* SIZE_INPUT_64_COUNT = iBuilder->CreateUDiv(iBuilder->getCapacity(inputName), iBuilder->getSize(64));
    4141
    4242        Value* initCurrentPos = startPos;
Note: See TracChangeset for help on using the changeset viewer.