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

Last change on this file since 6132 was 6077, checked in by xwa163, 15 months ago

Some bug fixing for LZ4 related kernels in AVX512 machine

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