Ignore:
Timestamp:
Sep 3, 2018, 2:34:31 PM (11 months ago)
Author:
nmedfort
Message:

Minor bug fix for wc

File:
1 edited

Legend:

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

    r6067 r6155  
    400400, {Binding{b->getInt32Ty(), "fileDescriptor"}}
    401401// output scalars
    402 , {}
     402, {Binding{b->getSizeTy(), "fileItems"}}
    403403// internal scalars
    404 , {Binding{b->getIntNTy(codeUnitWidth)->getPointerTo(), "buffer"}
    405 ,  Binding{b->getSizeTy(), "fileItems"}})
     404, {Binding{b->getIntNTy(codeUnitWidth)->getPointerTo(), "buffer"}})
    406405, mCodeUnitWidth(codeUnitWidth)
    407406, mFileSizeFunction(nullptr) {
     
    436435// input scalar
    437436, {Binding{b->getInt8Ty(), "useMMap"}, Binding{b->getInt32Ty(), "fileDescriptor"}}
    438 , {}
     437// output scalars
     438, {Binding{b->getSizeTy(), "fileItems"}}
    439439// internal scalars
    440 , {Binding{b->getIntNTy(codeUnitWidth)->getPointerTo(), "buffer"},
    441    Binding{b->getSizeTy(), "fileItems"}})
     440, {Binding{b->getIntNTy(codeUnitWidth)->getPointerTo(), "buffer"}})
    442441, mCodeUnitWidth(codeUnitWidth)
    443442, mFileSizeFunction(nullptr) {
Note: See TracChangeset for help on using the changeset viewer.