Ignore:
Timestamp:
Feb 6, 2018, 4:57:35 PM (15 months ago)
Author:
nmedfort
Message:

More work on the pipeline I/O rate handling

File:
1 edited

Legend:

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

    r5864 r5865  
    4343
    4444void LZ4BlockDecoderKernel::generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> &iBuilder, Value * const numOfStrides) {
    45     BasicBlock * entry_block = iBuilder->GetInsertBlock();
     45//    BasicBlock * entry_block = iBuilder->GetInsertBlock();
    4646//    iBuilder->CallPrintInt("block_available", iBuilder->getAvailableItemCount("byteStream"));
    4747    BasicBlock * exit_block = iBuilder->CreateBasicBlock("exit");
    4848
    49     BasicBlock * assert_fail_block = iBuilder->CreateBasicBlock("assert_fail_block");
    50     BasicBlock * real_entry_block = iBuilder->CreateBasicBlock("real_entry_block");
     49//    BasicBlock * assert_fail_block = iBuilder->CreateBasicBlock("assert_fail_block");
     50//    BasicBlock * real_entry_block = iBuilder->CreateBasicBlock("real_entry_block");
    5151
    5252    Value* hasSkipHeader = iBuilder->getScalarField("hasSkipHeader");
     
    152152    }
    153153
    154     Value* LZ4BlockDecoderKernel::appendOutput(const std::unique_ptr<KernelBuilder> & iBuilder, Value* isCompressed, Value* blockStart, Value* blockEnd) {
     154    void LZ4BlockDecoderKernel::appendOutput(const std::unique_ptr<KernelBuilder> & iBuilder, Value* isCompressed, Value* blockStart, Value* blockEnd) {
    155155        // TODO adjust output storing
    156156        this->generateStoreCircularOutput(iBuilder, "isCompressed", iBuilder->getInt1Ty()->getPointerTo(), isCompressed);
     
    176176
    177177    size_t LZ4BlockDecoderKernel::getOutputBufferSize(const unique_ptr<KernelBuilder> &iBuilder, const string& bufferName) {
    178         size_t s = this->getOutputStreamSetBuffer(bufferName)->getBufferBlocks();
     178//        size_t s = this->getOutputStreamSetBuffer(bufferName)->getBufferBlocks();
    179179        return this->getOutputStreamSetBuffer(bufferName)->getBufferBlocks() * iBuilder->getStride();
    180180    }
Note: See TracChangeset for help on using the changeset viewer.