Ignore:
Timestamp:
Jun 24, 2018, 1:24:36 AM (10 months ago)
Author:
xwa163
Message:
  1. Cleanup LZ4 AIO related kernels
  2. Improve LZ4ParallelByteStreamAIOKernel
  3. Implement simd_cttz
File:
1 edited

Legend:

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

    r6081 r6111  
    5454static cl::opt<bool> enableGather("enable-gather", cl::desc("Enable gather intrinsics"), cl::init(false), cl::cat(lz4GrepDebugFlags));
    5555static cl::opt<bool> enableScatter("enable-scatter", cl::desc("Enable scatter intrinsics"), cl::init(false), cl::cat(lz4GrepDebugFlags));
     56static cl::opt<int> minParallelLevel("min-parallel-level", cl::desc("Mininum parallel level"), cl::init(1), cl::cat(lz4GrepDebugFlags));
     57
    5658
    5759
     
    8082    if (aio) {
    8183        if (parallelDecompression) {
    82             g.generateParallelAioPipeline(re_ast, enableGather, enableScatter);
     84            g.generateParallelAioPipeline(re_ast, enableGather, enableScatter, minParallelLevel);
    8385        } else if (enableMultiplexing) {
    84             g.generateMultiplexingSwizzledAioPipeline2(re_ast);
     86            g.generateMultiplexingSwizzledAioPipeline(re_ast);
    8587        } else if (swizzledDecompression) {
    8688            g.generateSwizzledAioPipeline(re_ast);
Note: See TracChangeset for help on using the changeset viewer.