Ignore:
Timestamp:
Oct 6, 2016, 9:21:59 AM (3 years ago)
Author:
cameron
Message:

Streamset refactoring

File:
1 edited

Legend:

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

    r5174 r5184  
    2121
    2222llvm::PointerType * StreamSetBuffer::getStreamBufferPointerType() {
    23     return PointerType::get(mStreamSetType.getStreamSetBlockType(iBuilder), 0);
     23    return PointerType::get(mStreamSetType.getStreamSetBlockType(iBuilder), mAddrSpace);
    2424}
    2525
     
    101101}
    102102
    103 llvm::PointerType * ExternalFileBuffer::getStreamBufferPointerType() {
    104     return PointerType::get(mStreamSetType.getStreamSetBlockType(iBuilder), mAddrSpace);
    105 }
    106 
    107103llvm::Value * ExternalFileBuffer::allocateBuffer() {
    108104    throw std::runtime_error("External buffers cannot be allocated.");
Note: See TracChangeset for help on using the changeset viewer.