diff --git a/lib/refrepo/gpu_ref.rb b/lib/refrepo/gpu_ref.rb index f46f7bb969f1a8918ca8adedf3d52a8d5c29d9d2..32e7a5de67066c71963c87edd1f5736c8d0ee29c 100644 --- a/lib/refrepo/gpu_ref.rb +++ b/lib/refrepo/gpu_ref.rb @@ -10,7 +10,7 @@ class GPURef 'compute_capability' => '7.5', 'short_name' => 'RTX 2080 Ti', 'alias' => 'rtx2080ti', - 'microarch' => 'Turing', + 'microarchitecture' => 'Turing', 'performance' => { 'fp-16' => 26900000000000, 'fp-32' => 13450000000000, @@ -22,7 +22,7 @@ class GPURef 'compute_capability' => '6.1', 'short_name' => 'GTX 1080 Ti', 'alias' => 'gtx1080ti', - 'microarch' => 'Pascal', + 'microarchitecture' => 'Pascal', 'performance' => { 'fp-16' => 177200000000, 'fp-32' => 11340000000000, @@ -34,7 +34,7 @@ class GPURef 'compute_capability' => '6.0', 'short_name' => 'Tesla P100', 'alias' => 'p100-pcie-16', - 'microarch' => 'Pascal', + 'microarchitecture' => 'Pascal', 'performance' => { 'fp-16' => 19050000000000, 'fp-32' => 9526000000000, @@ -46,7 +46,7 @@ class GPURef 'compute_capability' => '6.0', 'short_name' => 'Tesla P100', 'alias' => 'p100-sxm2-16', - 'microarch' => 'Pascal', + 'microarchitecture' => 'Pascal', 'performance' => { 'fp-16' => 21220000000000, 'fp-32' => 10610000000000, @@ -58,7 +58,7 @@ class GPURef 'compute_capability' => '7.0', 'short_name' => 'Tesla V100', 'alias' => 'v100-pcie-32', - 'microarch' => 'Volta', + 'microarchitecture' => 'Volta', 'performance' => { 'fp-16' => 28260000000000, 'fp-32' => 14130000000000, @@ -70,7 +70,7 @@ class GPURef 'compute_capability' => '7.0', 'short_name' => 'Tesla V100', 'alias' => 'v100-sxm2-32', - 'microarch' => 'Volta', + 'microarchitecture' => 'Volta', 'performance' => { 'fp-16' => 28260000000000, 'fp-32' => 14130000000000, @@ -82,7 +82,7 @@ class GPURef 'compute_capability' => '2.0', 'short_name' => 'Tesla M2075', 'alias' => 'm2075', - 'microarch' => 'Maxwell', + 'microarchitecture' => 'Maxwell', 'performance' => { 'fp-16' => 0, 'fp-32' => 1028000000000, @@ -94,7 +94,7 @@ class GPURef 'compute_capability' => '5.2', 'short_name' => 'GTX 980', 'alias' => 'gtx980', - 'microarch' => 'Fermi', + 'microarchitecture' => 'Fermi', 'performance' => { 'fp-16' => 0, 'fp-32' => 4981000000000, @@ -106,7 +106,7 @@ class GPURef 'compute_capability' => '3.5', 'short_name' => 'Tesla K40M', 'alias' => 'k40m', - 'microarch' => 'Kepler', + 'microarchitecture' => 'Kepler', 'performance' => { 'fp-16' => 0, 'fp-32' => 5046000000000, @@ -118,7 +118,7 @@ class GPURef 'compute_capability' => '7.5', 'short_name' => 'Tesla T4', 'alias' => 't4', - 'microarch' => 'Turing', + 'microarchitecture' => 'Turing', 'performance' => { 'fp-16' => 65130000000000, 'fp-32' => 8141000000000, @@ -130,7 +130,7 @@ class GPURef 'compute_capability' => '8.0', 'short_name' => 'A100', 'alias' => 'a100-pcie-40', - 'microarch' => 'Ampere', + 'microarchitecture' => 'Ampere', 'performance' => { 'fp-16' => 77970000000000, 'fp-32' => 19490000000000, @@ -142,7 +142,7 @@ class GPURef 'compute_capability' => '8.0', 'short_name' => 'A100', 'alias' => 'a100-sxm4-40', - 'microarch' => 'Ampere', + 'microarchitecture' => 'Ampere', 'performance' => { 'fp-16' => 77970000000000, 'fp-32' => 19490000000000, @@ -154,7 +154,7 @@ class GPURef 'compute_capability' => '8.6', 'short_name' => 'A40', 'alias' => 'a40', - 'microarch' => 'Ampere', + 'microarchitecture' => 'Ampere', 'performance' => { 'fp-16' => 37420000000000, 'fp-32' => 37420000000000, @@ -166,7 +166,7 @@ class GPURef 'compute_capability' => '7.5', 'short_name' => 'Quadro RTX 6000', 'alias' => 'rtx6000', - 'microarch' => 'Turing', + 'microarchitecture' => 'Turing', 'performance' => { 'fp-16' => 32620000000000, 'fp-32' => 16310000000000, @@ -177,7 +177,7 @@ class GPURef 'cores' => 5120, 'short_name' => 'MI50', 'alias' => 'mi50-32', - 'microarch' => 'Vega20', + 'microarchitecture' => 'Vega20', 'performance' => { 'fp-16' => 26820000000000, 'fp-32' => 13410000000000, @@ -189,7 +189,7 @@ class GPURef 'compute_capability' => '7.2', 'short_name' => 'AGX Xavier', 'alias' => 'agx-xavier', - 'microarch' => 'Tegra', + 'microarchitecture' => 'Tegra', 'performance' => { 'fp-16' => 2820000000000, 'fp-32' => 1410000000000, @@ -207,9 +207,9 @@ class GPURef end end - def self.get_microarch(model) + def self.get_microarchitecture(model) if @@gpus[model] - return @@gpus[model]['microarch'] + return @@gpus[model]['microarchitecture'] else raise "Fix me: #{model} is missing" end diff --git a/lib/refrepo/input_loader.rb b/lib/refrepo/input_loader.rb index e4b08ab0b6f4bfbc00f8b77be53c2f49dc6ad13a..228927ba3bcd93da0ebd8723b7f67d70a2ba7c51 100644 --- a/lib/refrepo/input_loader.rb +++ b/lib/refrepo/input_loader.rb @@ -771,7 +771,7 @@ def add_gpu_information(h) cluster['nodes'].select { |_k, v| v['status'] != 'retired' }.each_pair do |_node_uid, node| node['gpu_devices']&.each do |_, v| v['cores'] = GPURef.get_cores(v['model']) - v['microarch'] = GPURef.get_microarch(v['model']) + v['microarchitecture'] = GPURef.get_microarchitecture(v['model']) v['performance'] = GPURef.get_performance(v['model']) if v['vendor'] == 'Nvidia' v['compute_capability'] = GPURef.get_compute_capability(v['model']) diff --git a/lib/refrepo/valid/data/homogeneity.yaml.erb b/lib/refrepo/valid/data/homogeneity.yaml.erb index 875fd70d9d943f65924edb2b83c5bb17b54bc43d..2774dffbab65136f949e47bbfedb8dea4272684a 100644 --- a/lib/refrepo/valid/data/homogeneity.yaml.erb +++ b/lib/refrepo/valid/data/homogeneity.yaml.erb @@ -74,7 +74,7 @@ lille: - ~gpu_devices.nvidia0.model - ~gpu_devices.nvidia0.compute_capability - ~gpu_devices.nvidia0.cores - - ~gpu_devices.nvidia0.microarch + - ~gpu_devices.nvidia0.microarchitecture - ~gpu_devices.nvidia0.performance.fp-16 - ~gpu_devices.nvidia0.performance.fp-32 - ~gpu_devices.nvidia0.performance.fp-64 @@ -83,7 +83,7 @@ lille: - ~gpu_devices.nvidia1.model - ~gpu_devices.nvidia1.compute_capability - ~gpu_devices.nvidia1.cores - - ~gpu_devices.nvidia1.microarch + - ~gpu_devices.nvidia1.microarchitecture - ~gpu_devices.nvidia1.performance.fp-16 - ~gpu_devices.nvidia1.performance.fp-32 - ~gpu_devices.nvidia1.performance.fp-64