Skip to content

Commit

Permalink
clean up webgpuinfo print statement about GPU_DEVICE env var
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Dec 25, 2024
1 parent c94789d commit 3d935d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpu/cmd/webgpuinfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func main() {
gpIndex := gp.SelectGPU(gpus)
props := gpus[gpIndex].GetInfo()
fmt.Println("Default WebGPU Adapter number:", gpIndex, " Type:", props.AdapterType.String(), " Backend:", props.BackendType.String())
fmt.Println("Set GPU_DEVICE environment variable to select a different device")
fmt.Println("Set the GPU_DEVICE environment variable to an adapter number to select a different GPU")

for i, a := range gpus {
props := a.GetInfo()
Expand Down

0 comments on commit 3d935d7

Please sign in to comment.