Skip to content

Commit

Permalink
chore: adding Apple GPU Vendor
Browse files Browse the repository at this point in the history
Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
  • Loading branch information
axel7083 committed Jul 15, 2024
1 parent 1135d67 commit 5a454a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/managers/GPUManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export class GPUManager extends Publisher<IGPUInfo[]> implements Disposable {
return GPUVendor.INTEL;
case 'NVIDIA':
return GPUVendor.NVIDIA;
case 'Apple':
return GPUVendor.APPLE;
default:
return GPUVendor.UNKNOWN;
}
Expand Down
1 change: 1 addition & 0 deletions packages/shared/src/models/IGPUInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export interface IGPUInfo {

export enum GPUVendor {
NVIDIA = 'NVIDIA',
APPLE = 'Apple',
INTEL = 'Intel Corporation',
UNKNOWN = 'unknown',
}

0 comments on commit 5a454a3

Please sign in to comment.