mirror of
https://github.com/fumiama/gozel.git
synced 2026-06-05 00:10:24 +08:00
feat(examples): add image_scale (#7)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
21
examples/quick_start/README.md
Normal file
21
examples/quick_start/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Quick Start — Device Enumeration
|
||||
|
||||
The simplest gozel example: initialize the Level Zero runtime, enumerate all available GPU drivers and their devices, and print device names.
|
||||
|
||||
## What It Does
|
||||
|
||||
- Initializes Level Zero and retrieves all GPU driver handles
|
||||
- Iterates over devices under each driver, queries and prints device properties (name)
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
go run main.go
|
||||
```
|
||||
|
||||
## Sample Output
|
||||
|
||||
```
|
||||
Found 1 GPU driver(s)
|
||||
Device: Intel(R) Graphics
|
||||
```
|
||||
Reference in New Issue
Block a user