Changeset 5002


Ignore:
Timestamp:
Apr 7, 2016, 12:49:29 PM (18 months ago)
Author:
cameron
Message:

Add deletion kernel

File:
1 edited

Legend:

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

    r4981 r5002  
    55#ifndef DELETION_H
    66#define DELETION_H
     7
     8
     9
     10namespace llvm { class Module; class Value;}
     11
     12namespace IDISA { class IDISA_Builder; }
    713
    814//
     
    1824// Deletion Mask Calculation
    1925
    20 std::vector<Value *> parallel_prefix_deletion_masks(IDISA::IDISA_Builder * iBuilder, unsigned fw, Value * del_mask);
     26std::vector<llvm::Value *> parallel_prefix_deletion_masks(IDISA::IDISA_Builder * iBuilder, unsigned fw, llvm::Value * del_mask);
    2127
    2228// Applying Deletion Masks to a Stream
    2329
    24 Value * apply_parallel_prefix_deletion(IDISA::IDISA_Builder * iBuilder, unsigned fw, Value * del_mask, std::vector<Value *> mv, Value * strm);
     30llvm::Value * apply_parallel_prefix_deletion(IDISA::IDISA_Builder * iBuilder, unsigned fw, llvm::Value * del_mask, std::vector<llvm::Value *> mv, llvm::Value * strm);
    2531
     32namespace kernel {
     33 
     34    class KernelBuilder;
    2635
     36    void generateDeletionKernel(llvm::Module * m, IDISA::IDISA_Builder * iBuilder, unsigned fw, unsigned stream_count, KernelBuilder * kBuilder);
     37
     38}
    2739#endif
    2840
Note: See TracChangeset for help on using the changeset viewer.