CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Commons.h
Go to the documentation of this file.
1 /*
2  * CLRadeonExtender - Unofficial OpenCL Radeon Extensions Library
3  * Copyright (C) 2014-2016 Mateusz Szpakowski
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
23 #ifndef __CLRX_COMMONS_H__
24 #define __CLRX_COMMONS_H__
25 
27 namespace CLRX
28 {
29 
31 enum class BinaryFormat
32 {
33  AMD = 0,
34  GALLIUM,
35  RAWCODE,
36  AMDCL2
37 };
38 
39 enum class RelocType
40 {
41  VALUE = 0,
42  LOW_32BIT,
43  HIGH_32BIT
44 };
45 
46 };
47 
48 #endif
AMD CATALYST format.
BinaryFormat
binary for Disassembler
Definition: Commons.h:31
AMD OpenCL 2.0 format.
GalliumCompute format.