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/pipeline/pipeline_compiler.hpp

    r6233 r6237  
    166166    PipelineCompiler(BuilderRef b, PipelineKernel * const pipelineKernel);
    167167
    168     void addInternalKernelProperties(BuilderRef b);
     168    void addPipelineKernelProperties(BuilderRef b);
    169169    void generateInitializeMethod(BuilderRef b);
    170170    void generateSingleThreadKernelMethod(BuilderRef b);
     
    177177// main pipeline functions
    178178
     179    void addInternalKernelProperties(BuilderRef b, const unsigned kernelIndex);
     180
    179181    void start(BuilderRef b, Value * const initialSegNo);
    180182    void setActiveKernel(BuilderRef b, const unsigned index);
     
    183185    void end(BuilderRef b, const unsigned step);
    184186
    185     Value * allocateThreadLocalSpace(BuilderRef b);
     187    StructType * getLocalStateType(BuilderRef b);
     188    Value * allocateThreadLocalSpace(BuilderRef b, StructType * localStateType);
    186189    void setThreadLocalSpace(BuilderRef b, Value * const localState);
    187190    void deallocateThreadLocalSpace(BuilderRef b, Value * const localState);
Note: See TracChangeset for help on using the changeset viewer.