Skip to content

Commit

Permalink
GpuInfo toString returns name
Browse files Browse the repository at this point in the history
[trigger-nightly-build]
  • Loading branch information
[email protected] committed Feb 27, 2024
1 parent b942618 commit 945380b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/de/nqueensfaf/impl/GpuSolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ private ArrayList<Gpu> get() {
}

public static record GpuInfo(long id, String vendor, String name) {
@Override
public String toString() {
return name;
}
}

private class Gpu {
Expand Down

0 comments on commit 945380b

Please sign in to comment.