Ignore:
Timestamp:
Apr 24, 2018, 2:57:34 PM (16 months ago)
Author:
nmedfort
Message:

Restructured MultiBlock? kernel. Removal of Swizzled buffers. Inclusion of PopCount? rates / non-linear access. Modifications to several kernels to better align them with the kernel and pipeline changes.

File:
1 edited

Legend:

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

    r5948 r5985  
    7979    }
    8080
    81     std::unique_ptr<LZ4Generator> g = llvm::make_unique<LZ4Generator>();
     81    LZ4Generator g;
     82    if (extractOnly) {
     83        g.generateExtractOnlyPipeline(outputFile);
     84    } else if (extractAndDepositOnly) {
     85        g.generateExtractAndDepositOnlyPipeline(outputFile);
     86    } else {
     87        g.generatePipeline(outputFile);
     88    }
     89    auto main = g.getMainFunc();
     90    main(fileBuffer, lz4Frame.getBlocksStart(), lz4Frame.getBlocksStart() + lz4Frame.getBlocksLength(), lz4Frame.hasBlockChecksum());
     91    mappedFile.close();
    8292
    83     if (extractOnly) {
    84         g->generateExtractOnlyPipeline(outputFile);
    85     } else if (extractAndDepositOnly) {
    86         g->generateExtractAndDepositOnlyPipeline(outputFile);
    87     } else {
    88         g->generatePipeline(outputFile);
    89     }
    90 
    91     auto main = g->getMainFunc();
    92 
    93     main(fileBuffer, lz4Frame.getBlocksStart(), lz4Frame.getBlocksStart() + lz4Frame.getBlocksLength(), lz4Frame.hasBlockChecksum());
    94 
    95     mappedFile.close();
    9693    return 0;
    9794}
Note: See TracChangeset for help on using the changeset viewer.