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

Last change on this file since 5184 was 5165, checked in by lindanl, 3 years ago

Add segment pipeline parallel strategy. Move ballot function to IDISA NVPTX.

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