Ignore:
Timestamp:
Feb 10, 2017, 1:48:34 PM (2 years ago)
Author:
nmedfort
Message:

Adjusted pablo compiler to use getInputStream and getOutputStream when accessing packed stream fields.

File:
1 edited

Legend:

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

    r5307 r5310  
    2626    Value * itemsToDo = iBuilder->CreateSub(producerPos[0], processed);
    2727    // There may be two memory areas if we are at the physical end of a circular buffer.
    28     const auto b  = getStreamSetBuffer("codeUnitBuffer");
     28    const auto b  = getInputStreamSetBuffer("codeUnitBuffer");
    2929    Value * wraparound = nullptr;
    3030    if (isa<CircularBuffer>(b) || isa<CircularCopybackBuffer>(b)) {
     
    9696    Value * itemsToDo = iBuilder->CreateSub(producerPos[0], processed);
    9797    // There may be two memory areas if we are at the physical end of a circular buffer.
    98     auto const &b  = getStreamSetBuffer("codeUnitBuffer");
     98    const auto b  = getInputStreamSetBuffer("codeUnitBuffer");
    9999    Value * wraparound = nullptr;
    100100    if (isa<CircularBuffer>(b) || isa<CircularCopybackBuffer>(b)) {
Note: See TracChangeset for help on using the changeset viewer.