Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
lift
types.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2014-2015, NVIDIA CORPORATION
3
* Copyright (c) 2015, Nuno Subtil <subtil@gmail.com>
4
* Copyright (c) 2015, Roche Molecular Systems Inc.
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without
8
* modification, are permitted provided that the following conditions are met:
9
* * Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* * Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the distribution.
14
* * Neither the name of the copyright holders nor the names of its
15
* contributors may be used to endorse or promote products derived from
16
* this software without specific prior written permission.
17
*
18
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
22
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
*/
29
30
#pragma once
31
32
#include <stdint.h>
33
#include <sys/types.h>
34
#include <inttypes.h>
35
36
namespace
lift {
37
38
// shorthand for common integer types
39
typedef
uint8_t
uint8
;
40
typedef
int8_t
int8
;
41
typedef
uint16_t
uint16
;
42
typedef
int16_t
int16
;
43
typedef
uint32_t
uint32
;
44
typedef
int32_t
int32
;
45
typedef
uint64_t
uint64
;
46
typedef
int64_t
int64
;
47
48
}
// namespace lift
lift::uint32
uint32_t uint32
Definition:
types.h:43
lift::uint64
uint64_t uint64
Definition:
types.h:45
lift::uint16
uint16_t uint16
Definition:
types.h:41
lift::int8
int8_t int8
Definition:
types.h:40
lift::int32
int32_t int32
Definition:
types.h:44
lift::int16
int16_t int16
Definition:
types.h:42
lift::int64
int64_t int64
Definition:
types.h:46
lift::uint8
uint8_t uint8
Definition:
types.h:39
Generated by
1.8.6