]>
git.ipfire.org Git - thirdparty/gcc.git/blob - liboffloadmic/include/coi/common/COITypes_common.h
001ddc979c08698fe28eb89655eae08552a019c8
2 * Copyright 2010-2015 Intel Corporation.
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published
6 * by the Free Software Foundation, version 2.1.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * Disclaimer: The codes contained in these modules may be specific
19 * to the Intel Software Development Platform codenamed Knights Ferry,
20 * and the Intel product codenamed Knights Corner, and are not backward
21 * compatible with other Intel products. Additionally, Intel will NOT
22 * support the codes or instruction set in future products.
24 * Intel offers no warranty of any kind regarding the code. This code is
25 * licensed on an "AS IS" basis and Intel is not obligated to provide
26 * any support, assistance, installation, training, or other services
27 * of any kind. Intel is also not obligated to provide any updates,
28 * enhancements or extensions. Intel specifically disclaims any warranty
29 * of merchantability, non-infringement, fitness for any particular
30 * purpose, and any other warranty.
32 * Further, Intel disclaims all liability of any kind, including but
33 * not limited to liability for infringement of any proprietary rights,
34 * relating to the use of the code, even if Intel is notified of the
35 * possibility of such liability. Except as expressly stated in an Intel
36 * license agreement provided with this code and agreed upon with Intel,
37 * no license, express or implied, by estoppel or otherwise, to any
38 * intellectual property rights is granted herein.
41 #ifndef _COITYPES_COMMON_H
42 #define _COITYPES_COMMON_H
45 * @addtogroup COITypesSource
48 * @file common/COITypes_common.h
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
53 #define COIACCESSAPI /* nothing */
54 #define COIACCESSAPI2 /* nothing */
55 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
63 struct coievent
{ uint64_t opaque
[2]; };
65 typedef struct coiprocess
* COIPROCESS
;
66 typedef struct coipipeline
* COIPIPELINE
;
67 typedef struct coifunction
* COIFUNCTION
;
68 typedef struct coiengine
* COIENGINE
;
69 typedef struct coievent COIEVENT
;
70 typedef struct coibuffer
* COIBUFFER
;
71 typedef struct coilibrary
* COILIBRARY
;
72 typedef struct coimapinst
* COIMAPINSTANCE
;
74 typedef uint64_t COI_CPU_MASK
[16];
77 * On Windows, coi_wchar_t is a uint32_t. On Windows, wchar_t is 16 bits wide, and on Linux it is 32 bits wide, so uint32_t is used for portability.
79 typedef wchar_t coi_wchar_t
;
85 #endif /* _COITYPES_COMMON_H */