Ignore:
Timestamp:
Mar 15, 2016, 10:20:07 PM (4 years ago)
Author:
nmedfort
Message:

Added the kernel instance class; removed original mmap file access in favour of the boost mmap system. corrected PrintRegister? routine.

File:
1 edited

Legend:

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

    r4959 r4974  
    66#include <kernels/kernel.h>
    77#include <IDISA/idisa_builder.h>
     8
     9namespace kernel {
    810
    911const int PACK_LANES = 1;
     
    5658    }
    5759    kBuilder->prepareFunction();
    58     for(unsigned i = 0; i < kBuilder->getSegmentBlocks(); ++i){
    59         Value * output[8];
    60         s2p(iBuilder, kBuilder->getInputStream(0), output);
    61         for (unsigned j = 0; j < 8; ++j) {
    62             iBuilder->CreateBlockAlignedStore(output[j], kBuilder->getOutputStream(j));
    63         }
    64         kBuilder->increment();
     60    Value * output[8];
     61    s2p(iBuilder, kBuilder->getInputStream(0), output);
     62    for (unsigned j = 0; j < 8; ++j) {
     63        iBuilder->CreateBlockAlignedStore(output[j], kBuilder->getOutputStream(j));
    6564    }
    6665    kBuilder->finalize();
    6766}
    6867
    69 
    70 
    71 
    72 
    73 
    74 
    75 
    76 
    77 
    78 
    79 
     68}
Note: See TracChangeset for help on using the changeset viewer.