GithubHelp home page GithubHelp logo

umio-yasuno / amdgpu-diagram-output Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 95 KB

amdgpu-diagram-output is a shell script that outputs AMDGPU info and diagram

License: MIT License

Shell 100.00%
mesa

amdgpu-diagram-output's Introduction

amdgpu-diagram-output

Requirements

  • AMD GPU
  • RadeonSI Driver (mesa)
  • glxinfo (mesa-utils)

Option

Usage:
  amdgpu-diagram-output.sh [FLAGS] [OPTION]...

FLAGS:
  -ni, -noinfo			do not display spec list
  -nd, -nodia			do not display diagram
  -ng, -nogfx			do not display gfx block (for diagram)
  				  (RB, Rasterizer/Primitive, Geometry)
  -rbplus			RB+ (for override)
  				  (RB == 4-ROP, RB+ == 8-ROP) 
  -h, --help			display this help and exit

OPTIONS:
  --col=NUM			setting number of diagram column (default: 2)
  --arch=gfx(9|10|10.3)		override GFX IP/Architecture
  --se=NUM			override number of ShaderEngine
  --sa-per-se=NUM, --sps=NUM	override number of ShaderArray per ShaderEngine
  --cu-per-sa=NUM, --cps=NUM	override number of CU per ShaderArray
  --min-cu-per-sa=NUM, --mcps=NUM
  				override number of min CU per ShaderArray
  --rb=NUM			override number of RenderBackend
  --l2c-block=NUM, --l2cb=NUM	override number of L2cache block
  --l2c-size=NUM, --l2cs=NUM	override L2cache size (KiB)
  
  -image			output image of diagram
  				  output to: /tmp/<GPU_NAME>-diagram.png
  				  requirement: imagemagick, "Dejavu Sans Mono" font

Result Example


Driver Version:		Mesa 21.1.0-devel (git-23100f3b65)

GPU ASIC:		POLARIS11
Chip class:		GFX8
Marketing Name:		Radeon RX 560 Series
GPU Type:		Discrete GPU
DeviceID:		0x67ff:0xcf

Compute Units:		  16 CU
GFX Clock Range:	 214 MHz - 1080 MHz
Peak GFX Clock:		1196 MHz

Peak FP16:		 2.44 TFlops
Peak FP32:		 2.44 TFlops

RBs (Render Backends):		  4 RB (16 ROP)
Peak Pixel Fill-Rate:		 19.13 GP/s
TMUs (Texture Mapping Units):	 64 TMU
Peak Texture Fill-Rate:		 76.54 GT/s

VRAM Type:		    GDDR5
VRAM Size:		  4096 MB
VRAM Bit Width:		   128-bit
Memory Clock Range:	   300 MHz - 1750 MHz
Peak Memory Clock:	  1750 MHz
Peak VRAM Bandwidth:	   112.00 GB/s

L2 Cache Blocks:	  4 Block
L2 Cache Size:		  1 MB (1024 KB)

Power cap:		 48 W

Card Interface:		PCIe Gen3x8 

AMD Smart Access Memory


## POLARIS11 Diagram

 +- ShaderEngine(00) -----------------+  +- ShaderEngine(01) -----------------+ 
 | +- ShaderArray(00) --------------+ |  | +- ShaderArray(00) --------------+ | 
 | |  ==== ====  CU (00) ==== ====  | |  | |  ==== ====  CU (00) ==== ====  | | 
 | |  ==== ====  CU (01) ==== ====  | |  | |  ==== ====  CU (01) ==== ====  | | 
 | |  ==== ====  CU (02) ==== ====  | |  | |  ==== ====  CU (02) ==== ====  | | 
 | |  ==== ====  CU (03) ==== ====  | |  | |  ==== ====  CU (03) ==== ====  | | 
 | |  ==== ====  CU (04) ==== ====  | |  | |  ==== ====  CU (04) ==== ====  | | 
 | |  ==== ====  CU (05) ==== ====  | |  | |  ==== ====  CU (05) ==== ====  | | 
 | |  ==== ====  CU (06) ==== ====  | |  | |  ==== ====  CU (06) ==== ====  | | 
 | |  ==== ====  CU (07) ==== ====  | |  | |  ==== ====  CU (07) ==== ====  | | 
 | |  [ RB ] [ RB ]                 | |  | |  [ RB ] [ RB ]                 | | 
 | |  [ Rasterizer/Primitive Unit ] | |  | |  [ Rasterizer/Primitive Unit ] | | 
 | +--------------------------------+ |  | +--------------------------------+ | 
 |      [- Geometry Processor -]      |  |      [- Geometry Processor -]      | 
 +------------------------------------+  +------------------------------------+ 

    [L2$ 256K]    [L2$ 256K]    [L2$ 256K]    [L2$ 256K]

amdgpu-diagram-output's People

Contributors

umio-yasuno avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.