Ignore:
Timestamp:
May 21, 2018, 9:49:22 PM (14 months ago)
Author:
cameron
Message:

Various small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/character_deposit.cpp

    r6047 r6055  
    3030#include <toolchain/cpudriver.h>
    3131#include <iostream>
     32#include <fstream>
    3233#include <kernels/deletion.h>
    3334#include <kernels/pdep_kernel.h>
     
    131132    // Deposit
    132133    StreamSetBuffer * depositedBits = pxDriver.addBuffer<DynamicBuffer>(iBuilder, iBuilder->getStreamSetTy(8), bufferBlocks, 1);
    133     Kernel * pdepK = pxDriver.addKernelInstance<BitStreamPDEPKernel>(iBuilder, 8);
    134     pxDriver.makeKernelCall(pdepK, {depositMarker, compressedBits}, {depositedBits});
     134    // Kernel * pdepK = pxDriver.addKernelInstance<BitStreamPDEPKernel>(iBuilder, 8);
     135    //pxDriver.makeKernelCall(pdepK, {depositMarker, compressedBits}, {depositedBits});
     136   
     137    StreamDepositCompiler depositCompiler(pxDriver, iBuilder->getStreamSetTy(8), bufferBlocks);
     138    depositCompiler.makeCall(depositMarker, compressedBits, depositedBits);
     139
    135140
    136141    return depositedBits;
Note: See TracChangeset for help on using the changeset viewer.