Ignore:
Timestamp:
Jan 27, 2017, 2:22:06 PM (3 years ago)
Author:
nmedfort
Message:

Optimized Symbol Generation (and fixed potential bug that could allow duplicate names being constructed); made PabloKernel? extend PabloAST (temporarily removed PabloAST::getName() to avoid diamond problem); added an internal scalar to PabloKernel? struct for each Count to avoid InOut? output scalar variable problem; allowed CodeMotionPass? to move code within the same scope but across a branch statement. Began work on separating Kernels into either Block-Oriented or Segment-Oriented kernels.

Location:
icGREP/icgrep-devel/icgrep/editd
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/editd/editd_cpu_kernel.cpp

    r5267 r5283  
    6060    Value * stideCarryArr = getScalarField(kernelStuctParam, "srideCarry");
    6161    Value * blockNo = getScalarField(kernelStuctParam, blockNoScalar);
    62    
     62
    6363    unsigned carryIdx = 0;
    6464
     
    113113
    114114editdCPUKernel::editdCPUKernel(IDISA::IDISA_Builder * b, unsigned dist, unsigned pattLen) :
    115 KernelBuilder(b, "editd_cpu",
     115BlockOrientedKernel(b, "editd_cpu",
    116116             {Binding{b->getStreamSetTy(4), "CCStream"}},
    117117             {Binding{b->getStreamSetTy(dist + 1), "ResultStream"}},
  • icGREP/icgrep-devel/icgrep/editd/editd_cpu_kernel.h

    r5267 r5283  
    1414namespace kernel {
    1515
    16 class editdCPUKernel : public KernelBuilder {
     16class editdCPUKernel : public BlockOrientedKernel {
    1717public:
    1818   
  • icGREP/icgrep-devel/icgrep/editd/editd_gpu_kernel.cpp

    r5267 r5283  
    117117
    118118editdGPUKernel::editdGPUKernel(IDISA::IDISA_Builder * b, unsigned dist, unsigned pattLen) :
    119 KernelBuilder(b, "editd_gpu",
     119BlockOrientedKernel(b, "editd_gpu",
    120120              {Binding{b->getStreamSetTy(4), "CCStream"}},
    121121              {Binding{b->getStreamSetTy(dist + 1), "ResultStream"}},
  • icGREP/icgrep-devel/icgrep/editd/editd_gpu_kernel.h

    r5267 r5283  
    1414namespace kernel {
    1515
    16 class editdGPUKernel : public KernelBuilder {
     16class editdGPUKernel : public BlockOrientedKernel {
    1717public:
    1818   
  • icGREP/icgrep-devel/icgrep/editd/editdscan_kernel.cpp

    r5267 r5283  
    9999
    100100editdScanKernel::editdScanKernel(IDISA::IDISA_Builder * iBuilder, unsigned dist) :
    101 KernelBuilder(iBuilder, "scanMatch",
     101BlockOrientedKernel(iBuilder, "scanMatch",
    102102              {Binding{iBuilder->getStreamSetTy(dist + 1), "matchResults"}},
    103103              {}, {}, {}, {}),
  • icGREP/icgrep-devel/icgrep/editd/editdscan_kernel.h

    r5267 r5283  
    1313namespace kernel {
    1414   
    15 class editdScanKernel : public KernelBuilder {
     15class editdScanKernel : public BlockOrientedKernel {
    1616public:
    1717    editdScanKernel(IDISA::IDISA_Builder * iBuilder, unsigned dist);
Note: See TracChangeset for help on using the changeset viewer.