source: icGREP/icgrep-devel/icgrep/kernels/pipeline.h @ 5142

Last change on this file since 5142 was 5135, checked in by lindanl, 3 years ago

Add pipeline parallel strategy to the framework.

File size: 611 bytes
Line 
1/*
2 *  Copyright (c) 2016 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
5#ifndef PIPELINE_H
6#define PIPELINE_H
7
8#include <IDISA/idisa_builder.h>
9#include <kernels/interface.h>
10#include <kernels/kernel.h>
11
12
13void generatePipelineLoop(IDISA::IDISA_Builder * iBuilder, std::vector<kernel::KernelBuilder *> kernels, std::vector<llvm::Value *> instances, llvm::Value * totalBytes);
14
15void generatePipelineParallel(IDISA::IDISA_Builder * iBuilder, std::vector<kernel::KernelBuilder *> kernels, std::vector<llvm::Value *> instances);
16
17#endif // PIPELINE_H
Note: See TracBrowser for help on using the repository browser.