crossover.jgr

来自「用于GPU通用计算的编程语言BrookGPU 0.4」· JGR 代码 · 共 61 行

JGR
61
字号
(* Timing.jgr -- * *	Master Jgraph file for plotting the results from the Brook timing *	tests. *)newgraph 	(* GPU / CPU Crossover *)yaxis label : Number of MFLOPsxaxis label : Number of Floats Transferredbordertitle : CPU / GPU Crossover Curve (Low End)newcurve  label : Ideal Line  marktype triangle  linetype dashed  pts 0 0   pts shell : awk '/RunKVSIdeal / { 			\     print 100*100*4, $4 * 100*100*4 / 1000000          \  }' crossover.ptsnewcurve  label : Actual Values  marktype circle  linetype solid  pts shell : awk '/RunKVS / { if ($6 <= 100) {    \     print $1, $3/1000000			   \  } }' crossover.ptslegend bottomnewpagenewgraph 	(* GPU / CPU Crossover *)yaxis label : Number of MFLOPsxaxis label : Number of Floats Transferredbordertitle : CPU / GPU Crossover Curve (Total)newcurve  label : Ideal Line  marktype triangle  linetype dashed  pts 0 0   pts shell : awk '/RunKVSIdeal / { 			\     print 900*900*4, $4 * 900*900*4 / 1000000          \  }' crossover.ptsnewcurve  label : Actual Values  marktype circle  linetype solid  pts shell : awk '/RunKVS / { if ($6 <= 900) {    \     print $1, $3/1000000			   \  } }' crossover.ptslegend bottom

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?