Skip to content

Commit

Permalink
centaur test
Browse files Browse the repository at this point in the history
  • Loading branch information
THWiseman committed Nov 8, 2023
1 parent f7a0e20 commit 6306c0b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ files {

metadata {
status: Succeeded
"outputs.cpus.cascadeLake.cpuPlatform": "Intel Cascade Lake"
"outputs.cpus.broadwell.cpuPlatform": "Intel Broadwell"
"outputs.cpus.haswell.cpuPlatform": "Intel Haswell"
"outputs.cpus.cascadeLake.cpuPlatform": "Intel Cascade Lake"
"outputs.cpus.iceLake.cpuPlatform": "Intel Ice Lake"
"outputs.cpus.sapphireRapids.cpuPlatform": "Intel Sapphire Rapids"
"outputs.cpus.rome.cpuPlatform": "AMD Rome"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ task cpu_platform {
}

workflow cpus {
call cpu_platform as haswell { input: cpu_platform = "Intel Haswell" }
call cpu_platform as broadwell { input: cpu_platform = "Intel Broadwell" }
call cpu_platform as cascadeLake { input: cpu_platform = "Intel Cascade Lake" }
call cpu_platform as rome {input: cpu_platform = "AMD Rome" }
call cpu_platform as haswell { input: cpu_platform = "Intel Haswell" }
call cpu_platform as broadwell { input: cpu_platform = "Intel Broadwell" }
call cpu_platform as cascadeLake { input: cpu_platform = "Intel Cascade Lake" }
call cpu_platform as iceLake { input: cpu_platform = "Intel Ice Lake" }
call cpu_platform as sapphireRapids { input: cpu_platform = "Intel Sapphire Rapids" }
call cpu_platform as rome { input: cpu_platform = "AMD Rome" }
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object MachineConstraints {
// The below logic infers the machine type from the requested CPU. We're assuming that users want the newest
// "General Purpose" machine type that is compatible with the requested CPU. For example, if someone requests
// Intel Cascade Lake as their CPU platform, then infer the n2 machine type. AMD Rome -> n2d.
// The heuristic we're using is "find the newest 'General Purpose' type that supports the given CPU.
// The heuristic we're using is: find the newest 'General Purpose' type that supports the given CPU.
// https://cloud.google.com/compute/docs/machine-resource
val customMachineType =
cpuPlatformOption match {
Expand Down

0 comments on commit 6306c0b

Please sign in to comment.