Ignore:
Timestamp:
Dec 15, 2018, 3:43:59 PM (4 months ago)
Author:
nmedfort
Message:

Re-enabled segment pipeline parallelism; moved logical segment number into pipeline kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/kernel_builder.h

    r6233 r6237  
    2424    // Set the value of a scalar field for the current instance.
    2525    void setScalarField(const std::string & fieldName, llvm::Value * value);
    26 
    27     // Synchronization actions for executing a kernel for a particular logical segment.
    28     //
    29     // Before the segment is processed, acquireLogicalSegmentNo must be used to load
    30     // the segment number of the kernel state to ensure that the previous segment is
    31     // complete (by checking that the acquired segment number is equal to the desired segment
    32     // number).
    33     // After all segment processing actions for the kernel are complete, and any necessary
    34     // data has been extracted from the kernel for further pipeline processing, the
    35     // segment number must be incremented and stored using releaseLogicalSegmentNo.
    36     llvm::LoadInst * acquireLogicalSegmentNo();
    37 
    38     void releaseLogicalSegmentNo(llvm::Value * const nextSegNo);
    3926
    4027    llvm::Value * getAvailableItemCount(const std::string & name);
Note: See TracChangeset for help on using the changeset viewer.