cn0303 commited on
Commit
8e5e755
·
verified ·
1 Parent(s): 49823c5

Apple: unified-memory label + chip options without misleading GB

Browse files
Files changed (2) hide show
  1. static/app.js +7 -1
  2. static/index.html +1 -1
static/app.js CHANGED
@@ -78,7 +78,7 @@ const GPUS = {
78
  "RTX 3050 Laptop (4 GB)","Laptop RTX (not sure of model)",
79
  ],
80
  amd: ["RX 7900 XTX (24 GB)","RX 7800 XT (16 GB)","RX 7600 (8 GB)","RX 6700 XT (12 GB)","Built-in Radeon"],
81
- apple: ["M-series base (8 GB)","M-series Pro (16 GB)","M-series Max (32 GB)","M-series Ultra (64 GB)"],
82
  intel: ["Arc A770 (16 GB)","Arc A750 (8 GB)","Arc A380 (6 GB)","Built-in Intel graphics"],
83
  };
84
 
@@ -229,6 +229,12 @@ function syncProviderForComputer() {
229
  setActive("#provider-seg", state.provider);
230
  }
231
  fillGpu();
 
 
 
 
 
 
232
  }
233
 
234
  // ---- Find-my-specs help text ---------------------------------------------
 
78
  "RTX 3050 Laptop (4 GB)","Laptop RTX (not sure of model)",
79
  ],
80
  amd: ["RX 7900 XTX (24 GB)","RX 7800 XT (16 GB)","RX 7600 (8 GB)","RX 6700 XT (12 GB)","Built-in Radeon"],
81
+ apple: ["M-series base","M-series Pro","M-series Max","M-series Ultra"],
82
  intel: ["Arc A770 (16 GB)","Arc A750 (8 GB)","Arc A380 (6 GB)","Built-in Intel graphics"],
83
  };
84
 
 
229
  setActive("#provider-seg", state.provider);
230
  }
231
  fillGpu();
232
+ // Apple Silicon shares one memory pool, so the RAM field IS the unified memory
233
+ // (the engine already budgets Apple off this number); label it honestly.
234
+ const ramLabel = $("#ram-label");
235
+ if (ramLabel) {
236
+ ramLabel.textContent = state.computer === "Mac" ? "Unified memory" : "Memory (RAM)";
237
+ }
238
  }
239
 
240
  // ---- Find-my-specs help text ---------------------------------------------
static/index.html CHANGED
@@ -66,7 +66,7 @@
66
  </div>
67
 
68
  <div class="field">
69
- <span class="label">Memory (RAM)</span>
70
  <select id="ram">
71
  <option>2 GB</option><option>4 GB</option><option>8 GB</option>
72
  <option selected>16 GB</option><option>24 GB</option><option>32 GB</option>
 
66
  </div>
67
 
68
  <div class="field">
69
+ <span class="label" id="ram-label">Memory (RAM)</span>
70
  <select id="ram">
71
  <option>2 GB</option><option>4 GB</option><option>8 GB</option>
72
  <option selected>16 GB</option><option>24 GB</option><option>32 GB</option>