aboutsummaryrefslogtreecommitdiff
path: root/device/README.md
blob: f9b0874ef7229d06ac4cc8dfede7e2ee17ef3848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# device
--
    import "android.googlesource.com/platform/tools/gpu/device"


## Usage

#### type Architecture

```go
type Architecture struct {
	PointerAlignment int              // The alignment in bytes of a pointer type.
	PointerSize      int              // The size in bytes of a pointer type.
	IntegerSize      int              // The size in bytes of a int or unsigned int.
	ByteOrder        endian.ByteOrder // The byte ordering for the target.
}
```

Architecture holds architecture information about a device.

#### func (Architecture) String

```go
func (a Architecture) String() string
```