python:pyopencl

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン両方とも次のリビジョン
python:pyopencl [2019/09/16 12:57] – [OpenCL ベンチマーク] ともやんpython:pyopencl [2020/06/10 11:24] ともやん
行 1: 行 1:
 <html> <html>
   <style>   <style>
-    #result pre { +    #result pre, #mincode pre { 
-      height: 200px;+      overflow: hidden; 
 +      font-size: 10px; 
 +    } 
 +    #result_long pre, #mincode_long pre { 
 +      height: 250px;
       overflow: scroll;       overflow: scroll;
       overflow-x: hidden;       overflow-x: hidden;
 +      font-size: 10px;
 +    }
 +    #mintbl table {
 +      font-size: 12px;
 +    }
 +    #mintbl td pre {
 +      margin: 0;
 +    }
 +    #img_long {
 +      height: 400px;
 +      overflow: scroll;
 +      overflow-x: hidden;
 +    }
 +    .dokuwiki .plugin_wrap table {
 +      width: auto;
 +    }
 +    #logo {
 +      background-color: white;
 +      padding: 10px;
 +      width: fit-content;
 +    }
 +    #logo p {
 +      margin: 0;
     }     }
   </style>   </style>
行 10: 行 37:
 ====== PyOpenCL のインストール ====== ====== PyOpenCL のインストール ======
 ここでは、以下の CPU および GPU を使用してベンチマークを行った。\\ ここでは、以下の CPU および GPU を使用してベンチマークを行った。\\
-  * AMD(R) GPU Radeon HD 5870 +  * AMD® GPU Radeon HD 5870 
-  * AMD(R) CPU Phenom(tm) II X6 1100T Processor +  * AMD® CPU Phenom() II X6 1100T Processor 
-  * Intel(R) GPU  HD Graphics 4000 +  * Intel® GPU  HD Graphics 4000 
-  * Intel(R) CPU Core(TM) i7-3517U CPU @ 1.90GHz +  * Intel® CPU Core() i7-3517U CPU @ 1.90GHz 
-  * NVIDIA(R) GPU GeForce GT 640M+  * NVIDIA® GPU GeForce GT 640M
  
 ===== Windows ===== ===== Windows =====
行 64: 行 91:
 </WRAP> </WRAP>
  
-==== OpenCL ベンチマーク ====+===== OpenCL ベンチマーク =====
 OpenCL のベンチマークには以下のプログラムを使用しました。\\ OpenCL のベンチマークには以下のプログラムを使用しました。\\
 https://github.com/stefanv/PyOpenCL/blob/master/examples/benchmark-all.py\\ https://github.com/stefanv/PyOpenCL/blob/master/examples/benchmark-all.py\\
行 152: 行 179:
 </file> </file>
  
-=== MGC 開発マシン === +===== MGC 開発マシン ===== 
-{{:python:mgc_thecircle_cpu_gpu.png?680|MGC TheCircle CPU GPU}}\\+{{python:mgc_thecircle_cpu_gpu.png?680|MGC TheCircle CPU GPU}}\\
 **HIS Radeon HD 5870**\\ **HIS Radeon HD 5870**\\
 <code> <code>
行 162: 行 189:
 Shading Units: 1400 Shading Units: 1400
 </code> </code>
-{{:python:his_radeon_hd5870.png?640|HIS Radeon HD 5870}}\\+{{python:his_radeon_hd5870.png?640|HIS Radeon HD 5870}}\\
 \\ \\
-**AMD Phenom(tm) II X6 1100T Processor, Black Edition 3.30GHz**\\+**AMD Phenom() II X6 1100T Processor, Black Edition 3.30GHz**\\
 <code> <code>
 TDP: 125W TDP: 125W
行 171: 行 198:
 </code> </code>
 ※FLOPS は理論値(4 FLOPS/Clock × 3.3GHz × 6コア)\\ ※FLOPS は理論値(4 FLOPS/Clock × 3.3GHz × 6コア)\\
-{{:python:amd_phenom_ii_x6_1100t_processor.png?200|AMD Phenom(tm) II X6 1100T Processor 3.30GHz}}\\+{{python:amd_phenom_ii_x6_1100t_processor.png?200|AMD Phenom() II X6 1100T Processor 3.30GHz}}\\
 \\ \\
 <code> <code>
行 204: 行 231:
 </code> </code>
  
-=== マウスコンピュータ LB-L561S === +===== マウスコンピュータ LB-L561S ===== 
-{{:python:lb-l461s_cpu_gpu.png?1024|LB-L561S CPU GPU}}\\+{{python:lb-l461s_cpu_gpu.png?1024|LB-L561S CPU GPU}}\\
 **NVIDIA GeForce GT 640M**\\ **NVIDIA GeForce GT 640M**\\
 <code> <code>
行 215: 行 242:
 Shading Units: 384 Shading Units: 384
 </code> </code>
-{{:python:nvidia_geforce_gt_640m.png?200|NVIDIA GeForce GT 640M}}\\+{{python:nvidia_geforce_gt_640m.png?200|NVIDIA GeForce GT 640M}}\\
 \\ \\
 **Intel(R) HD Graphics 4000**\\ **Intel(R) HD Graphics 4000**\\
行 227: 行 254:
 </code> </code>
 \\ \\
-**Intel(R) Core(TM) i7-3517U CPU @ 1.90GHz**\\+**Intel® Core() i7-3517U CPU @ 1.90GHz**\\
 <code> <code>
 TDP: 17W TDP: 17W
行 278: 行 305:
 Device compute units: 16 Device compute units: 16
 Execution time of test: 0.0007947200 s Execution time of test: 0.0007947200 s
 +Results OK
 +</code>
 +</WRAP>
 +
 +===== Google Colaboratory (略称: Colab) =====
 +**CPU: Intel® Xeon® CPU @ 2.30GHz**\\
 +**GPU: NVIDIA® Tesla® T4**\\
 +<code>
 +TDP: 70W
 +FLOPS: 8.141 TFLOPS
 +GPU Clock: 585 MHz
 +          1590 MHz(Boost)
 +Memory Clock: 1250 MHz
 +Shading Units: 2560
 +</code>
 +\\
 +<WRAP prewrap 100%>
 +<code>
 +Execution time of test without OpenCL:  5.938735008239746 s
 +===============================================================
 +Platform name: NVIDIA CUDA
 +Platform profile: FULL_PROFILE
 +Platform vendor: NVIDIA Corporation
 +Platform version: OpenCL 1.2 CUDA 10.1.152
 +---------------------------------------------------------------
 +Device name: Tesla P4
 +Device type: ALL | GPU
 +Device memory:  7611 MB
 +Device max clock speed: 1113 MHz
 +Device compute units: 20
 +Execution time of test: 0.0010557440 s
 Results OK Results OK
 </code> </code>
行 534: 行 592:
 [[https://ja.wikipedia.org/wiki/AMD_Phenom_II|AMD Phenom II - Wikipedia]]\\ [[https://ja.wikipedia.org/wiki/AMD_Phenom_II|AMD Phenom II - Wikipedia]]\\
 [[https://ja.wikipedia.org/wiki/Intel_HD_Graphics|Intel HD Graphics - Wikipedia]]\\ [[https://ja.wikipedia.org/wiki/Intel_HD_Graphics|Intel HD Graphics - Wikipedia]]\\
 +
 +[[https://www.techpowerup.com/gpu-specs/radeon-hd-5870.c253|ATI Radeon HD 5870 Specs | TechPowerUp GPU Database]]\\
 [[https://www.techpowerup.com/gpu-specs/hd-graphics-4000.c1266|Intel HD Graphics 4000 Specs | TechPowerUp GPU Database]]\\ [[https://www.techpowerup.com/gpu-specs/hd-graphics-4000.c1266|Intel HD Graphics 4000 Specs | TechPowerUp GPU Database]]\\
 +[[https://www.techpowerup.com/gpu-specs/tesla-t4.c3316|NVIDIA Tesla T4 Specs | TechPowerUp GPU Database]]\\
 +
 [[https://gflops.surge.sh/|GPU GFLOPS]]\\ [[https://gflops.surge.sh/|GPU GFLOPS]]\\
 [[https://ja.wikipedia.org/wiki/Intel_Core_i7|Intel Core i7 - Wikipedia]]\\ [[https://ja.wikipedia.org/wiki/Intel_Core_i7|Intel Core i7 - Wikipedia]]\\
  • python/pyopencl.txt
  • 最終更新: 2024/04/23 13:48
  • by ともやん