source: icGREP/icgrep-devel/icgrep/IR_Gen/idisa_target.h @ 6184

Last change on this file since 6184 was 6184, checked in by nmedfort, 11 months ago

Initial version of PipelineKernel? + revised StreamSet? model.

File size: 590 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
6#ifndef IDISA_TARGET_H
7#define IDISA_TARGET_H
8
9#include <llvm/Support/Compiler.h>
10
11namespace llvm { class LLVMContext; }
12namespace kernel { class KernelBuilder; }
13
14extern LLVM_READNONE bool AVX2_available();
15extern LLVM_READNONE bool AVX512BW_available();
16
17namespace IDISA {
18   
19kernel::KernelBuilder * GetIDISA_Builder(llvm::LLVMContext & C);
20
21#ifdef CUDA_ENABLED
22kernel::KernelBuilder * GetIDISA_GPU_Builder(llvm::LLVMContext & C);
23#endif
24}
25
26#endif
Note: See TracBrowser for help on using the repository browser.