Ignore:
Timestamp:
Jan 14, 2018, 1:57:43 AM (12 months ago)
Author:
nmedfort
Message:

UntilN kernel rewritten to use new MultiBlock? system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/kernel_builder.h

    r5793 r5830  
    7171    // use in implementing kernels.
    7272
    73     llvm::Value * getInputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex);
     73    llvm::Value * getInputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex) {
     74        return getInputStreamBlockPtr(name, streamIndex, getInt32(0));
     75    }
     76
     77    llvm::Value * getInputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex, llvm::Value * blockOffset);
    7478
    7579    llvm::Value * loadInputStreamBlock(const std::string & name, llvm::Value * streamIndex);
     
    8185    llvm::Value * getInputStreamSetCount(const std::string & name);
    8286
    83     llvm::Value * getOutputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex);
     87    llvm::Value * getOutputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex) {
     88        return getOutputStreamBlockPtr(name, streamIndex, getInt32(0));
     89    }
     90
     91    llvm::Value * getOutputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex, llvm::Value * blockOffset);
    8492
    8593    llvm::StoreInst * storeOutputStreamBlock(const std::string & name, llvm::Value * streamIndex, llvm::Value * toStore);
     
    9098
    9199    llvm::Value * getOutputStreamSetCount(const std::string & name);
    92 
    93     llvm::Value * getInputStreamBlockPtr(const std::string & name, llvm::Value * streamIndex, llvm::Value * blockOffset);
    94100
    95101    llvm::Value * getRawInputPointer(const std::string & name, llvm::Value * absolutePosition);
Note: See TracChangeset for help on using the changeset viewer.