diff options
author | Ben Clayton <bclayton@google.com> | 2015-06-25 15:46:49 +0100 |
---|---|---|
committer | Ben Clayton <bclayton@google.com> | 2015-06-25 15:46:49 +0100 |
commit | cafc472cfa435a531cb13a7c64af081ccf3f4697 (patch) | |
tree | a8c6a30b19a4b161d4b180cc6416bcbca2bf594b /device | |
parent | 27bb8166f14ee8082a91ece0cb943cecdd7ff5c8 (diff) | |
download | gpu-cafc472cfa435a531cb13a7c64af081ccf3f4697.tar.gz |
Add new README.md files.
Change-Id: I25cc3b08b2615fb2664c27871f40a9d817b11850
Diffstat (limited to 'device')
-rw-r--r-- | device/README.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/device/README.md b/device/README.md new file mode 100644 index 000000000..f9b0874ef --- /dev/null +++ b/device/README.md @@ -0,0 +1,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 +``` |