Ignore:
Timestamp:
Jan 14, 2018, 3:30:04 PM (21 months ago)
Author:
nmedfort
Message:

Potential bug fix for 32-bit

File:
1 edited

Legend:

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

    r5793 r5831  
    1515namespace kernel {
    1616
    17 Value * StdOutKernel::generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & b, llvm::Value * const numOfStrides) {
     17void StdOutKernel::generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & b, llvm::Value * const numOfStrides) {
    1818    Value * codeUnitBuffer = b->getInputStreamBlockPtr("codeUnitBuffer", b->getInt32(0));
    1919    codeUnitBuffer = b->CreatePointerCast(codeUnitBuffer, b->getInt8PtrTy());
     
    2525    }
    2626    b->CreateWriteCall(b->getInt32(1), codeUnitBuffer, bytesToDo);
    27     return numOfStrides;
    2827}
    2928
     
    6463}
    6564
    66 Value * FileSink::generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & b, Value * const numOfStrides) {
     65void FileSink::generateMultiBlockLogic(const std::unique_ptr<KernelBuilder> & b, Value * const numOfStrides) {
    6766    Value * const fileDes = b->getScalarField("fileDes");
    6867    Value * codeUnitBuffer = b->getInputStreamBlockPtr("codeUnitBuffer", b->getInt32(0));
     
    7574    }   
    7675    b->CreateWriteCall(fileDes, codeUnitBuffer, bytesToDo);
    77     return numOfStrides;
    7876}
    7977
Note: See TracChangeset for help on using the changeset viewer.