Ignore:
Timestamp:
Sep 26, 2016, 12:05:51 PM (3 years ago)
Author:
lindanl
Message:

Add segment pipeline parallel strategy. Move ballot function to IDISA NVPTX.

File:
1 edited

Legend:

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

    r5156 r5165  
    5656int SegmentSize;
    5757int BufferSegments;
     58int ThreadNum;
    5859
    5960static cl::opt<int, true> BlockSizeOption("BlockSize", cl::location(BlockSize), cl::init(0), cl::desc("specify a block size (defaults to widest SIMD register width in bits)."), cl::cat(CodeGenOptions));
    6061static cl::opt<int, true> SegmentSizeOption("segment-size", cl::location(SegmentSize), cl::desc("Segment Size"), cl::value_desc("positive integer"), cl::init(1));
    6162static cl::opt<int, true> BufferSegmentsOption("buffer-segments", cl::location(BufferSegments), cl::desc("Buffer Segments"), cl::value_desc("positive integer"), cl::init(1));
     63static cl::opt<int, true> ThreadNumOption("thread-num", cl::location(ThreadNum), cl::desc("Number of threads used for segment pipeline parallel"), cl::value_desc("positive integer"), cl::init(2));
    6264
    6365const cl::OptionCategory * codegen_flags() {return &CodeGenOptions;}
Note: See TracChangeset for help on using the changeset viewer.