Ignore:
Timestamp:
Dec 23, 2018, 5:17:27 PM (5 months ago)
Author:
nmedfort
Message:

Moved consumed item counts for all buffers into pipeline state. Initial work on conditional kernel logic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/driver.cpp

    r6237 r6253  
    1414 * @brief makePipelineWithIO
    1515 ** ------------------------------------------------------------------------------------------------------------- */
    16 std::unique_ptr<PipelineBuilder> BaseDriver::makePipelineWithIO(Bindings stream_inputs, Bindings stream_outputs, Bindings scalar_inputs, Bindings scalar_outputs) {
    17     return llvm::make_unique<PipelineBuilder>(*this, std::move(stream_inputs), std::move(stream_outputs), std::move(scalar_inputs), std::move(scalar_outputs), codegen::ThreadNum);
     16std::unique_ptr<ProgramBuilder> BaseDriver::makePipelineWithIO(Bindings stream_inputs, Bindings stream_outputs, Bindings scalar_inputs, Bindings scalar_outputs) {
     17    return llvm::make_unique<ProgramBuilder>(*this, std::move(stream_inputs), std::move(stream_outputs), std::move(scalar_inputs), std::move(scalar_outputs));
    1818}
    1919
     
    2121 * @brief makePipeline
    2222 ** ------------------------------------------------------------------------------------------------------------- */
    23 std::unique_ptr<kernel::PipelineBuilder> BaseDriver::makePipeline(Bindings scalar_inputs, Bindings scalar_outputs) {
    24     return llvm::make_unique<PipelineBuilder>(*this, Bindings{}, Bindings{}, std::move(scalar_inputs), std::move(scalar_outputs), codegen::ThreadNum);
     23std::unique_ptr<ProgramBuilder> BaseDriver::makePipeline(Bindings scalar_inputs, Bindings scalar_outputs) {
     24    return llvm::make_unique<ProgramBuilder>(*this, Bindings{}, Bindings{}, std::move(scalar_inputs), std::move(scalar_outputs));
    2525}
    2626
Note: See TracChangeset for help on using the changeset viewer.