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

Last change on this file since 6235 was 6235, checked in by cameron, 9 months ago

BMI2_available() and checking for u32u8

File size: 634 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 BMI2_available();
15extern LLVM_READNONE bool AVX2_available();
16extern LLVM_READNONE bool AVX512BW_available();
17
18namespace IDISA {
19   
20kernel::KernelBuilder * GetIDISA_Builder(llvm::LLVMContext & C);
21
22#ifdef CUDA_ENABLED
23kernel::KernelBuilder * GetIDISA_GPU_Builder(llvm::LLVMContext & C);
24#endif
25}
26
27#endif
Note: See TracBrowser for help on using the repository browser.