Ignore:
Timestamp:
Apr 24, 2018, 2:57:34 PM (13 months ago)
Author:
nmedfort
Message:

Restructured MultiBlock? kernel. Removal of Swizzled buffers. Inclusion of PopCount? rates / non-linear access. Modifications to several kernels to better align them with the kernel and pipeline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/interface.cpp

    r5755 r5985  
    1212#include <kernels/kernel_builder.h>
    1313
    14 static const auto INIT_SUFFIX = "_Init";
    15 
    16 static const auto DO_SEGMENT_SUFFIX = "_DoSegment";
    17 
    18 static const auto TERMINATE_SUFFIX = "_Terminate";
    1914
    2015using namespace llvm;
    2116
    2217namespace kernel {
     18
     19const static auto INIT_SUFFIX = "_Init";
     20const static auto DO_SEGMENT_SUFFIX = "_DoSegment";
     21const static auto TERMINATE_SUFFIX = "_Terminate";
    2322
    2423void KernelInterface::addKernelDeclarations(const std::unique_ptr<kernel::KernelBuilder> & idb) {
     
    6665    args = doSegment->arg_begin();
    6766    args->setName("self");
    68     (++args)->setName("doFinal");
    69 //    if (mHasPrincipalItemCount) {
    70 //        (++args)->setName("principleAvailableItemCount");
    71 //    }
     67    (++args)->setName("isFinal");
    7268    for (const Binding & input : mStreamSetInputs) {
    73         //const ProcessingRate & r = input.getRate();
    74         //if (!r.isDerived()) {
    75             (++args)->setName(input.getName() + "AvailableItems");
    76         //}
     69        (++args)->setName(input.getName() + "AvailableItems");
    7770    }
    7871
Note: See TracChangeset for help on using the changeset viewer.