Skip to content

Commit

Permalink
publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Dec 22, 2023
1 parent 5f030f9 commit 646287d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/utils/matrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ function getRunsOn(test: Test, deviceLabel: Device): string[] {
return runnerLabels.concat([`${deviceLabel}-${suffix}`])
}

export type ComputePlatform = 'cpu' | 'cu116' | 'cu110_xla' | 'cu101_xla'
export type ComputePlatform = 'cpu' | 'cu118' | 'cu110_xla' | 'cu101_xla'
function getComputePlatform(device: Device): ComputePlatform {
switch (device) {
case 'cpu':
return 'cpu'
case 'cuda':
return 'cu116'
return 'cu118'

default:
throw new Error(device)
Expand Down

0 comments on commit 646287d

Please sign in to comment.