Created
November 5, 2025 22:00
-
-
Save Hermann-SW/1d0b7f84610e1aee657ab1cad8e09460 to your computer and use it in GitHub Desktop.
Simple stacking model allowing AMD Instinct MI50 GPUs to be operated by Riser cards from side
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict" | |
| const jscad = require('@jscad/modeling') | |
| const { intersect, subtract, union } = jscad.booleans | |
| const { translate } = jscad.transforms | |
| const { cuboid } = jscad.primitives | |
| const L=112 | |
| const H=41+12 | |
| const W=10 | |
| const T=5 | |
| const D=20 | |
| const w=3 | |
| const t=2.5 | |
| const d=8 | |
| function main() { | |
| return [ | |
| subtract( | |
| union( | |
| translate([0,0,10/2], cuboid({size: [L+2*W,D,T+10]})), | |
| translate([L/2+W/2,0,(T+H)/2-T/2], cuboid({size: [W,2*D,T+H]})), | |
| translate([-(L/2+W/2),0,(T+H)/2-T/2], cuboid({size: [W,2*D,T+H]})), | |
| translate([(L+W)/2,0,T+H-t/2], cuboid({size: [w,d,t]})), | |
| translate([-(L+W)/2,0,T+H-t/2], cuboid({size: [w,d,t]})), | |
| ), | |
| translate([(L+W)/2,0,-T/2+t/2], cuboid({size: [w+0.3,d+0.3,t+0.3]})), | |
| translate([-(L+W)/2,0,-T/2+t/2], cuboid({size: [w+0.3,d+0.3,t+0.3]})), | |
| ) | |
| ] | |
| } | |
| module.exports = { main } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Function test with gpuowl benchmark: