差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン | 次のリビジョン両方とも次のリビジョン | ||
python:pyopencl [2019/09/16 12:57] – [OpenCL ベンチマーク] ともやん | python:pyopencl [2020/06/10 11:24] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
< | < | ||
< | < | ||
- | #result pre { | + | # |
- | height: | + | overflow: hidden; |
+ | font-size: 10px; | ||
+ | } | ||
+ | # | ||
+ | height: | ||
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: | ||
+ | padding: 10px; | ||
+ | width: fit-content; | ||
+ | } | ||
+ | #logo p { | ||
+ | margin: 0; | ||
} | } | ||
</ | </ | ||
行 10: | 行 37: | ||
====== PyOpenCL のインストール ====== | ====== PyOpenCL のインストール ====== | ||
ここでは、以下の CPU および GPU を使用してベンチマークを行った。\\ | ここでは、以下の CPU および GPU を使用してベンチマークを行った。\\ | ||
- | * AMD(R) | + | * AMD® GPU Radeon HD 5870 |
- | * AMD(R) | + | * AMD® CPU Phenom(™) II X6 1100T Processor |
- | * Intel(R) | + | * Intel® |
- | * Intel(R) | + | * Intel® |
- | * NVIDIA(R) | + | * NVIDIA® |
===== Windows ===== | ===== Windows ===== | ||
行 64: | 行 91: | ||
</ | </ | ||
- | ==== OpenCL ベンチマーク ==== | + | ===== OpenCL ベンチマーク |
OpenCL のベンチマークには以下のプログラムを使用しました。\\ | OpenCL のベンチマークには以下のプログラムを使用しました。\\ | ||
https:// | https:// | ||
行 152: | 行 179: | ||
</ | </ | ||
- | === MGC 開発マシン === | + | ===== MGC 開発マシン |
- | {{:python: | + | {{python: |
**HIS Radeon HD 5870**\\ | **HIS Radeon HD 5870**\\ | ||
< | < | ||
行 162: | 行 189: | ||
Shading Units: 1400 | Shading Units: 1400 | ||
</ | </ | ||
- | {{:python: | + | {{python: |
\\ | \\ | ||
- | **AMD Phenom(tm) II X6 1100T Processor, Black Edition 3.30GHz**\\ | + | **AMD Phenom(™) II X6 1100T Processor, Black Edition 3.30GHz**\\ |
< | < | ||
TDP: 125W | TDP: 125W | ||
行 171: | 行 198: | ||
</ | </ | ||
※FLOPS は理論値(4 FLOPS/Clock × 3.3GHz × 6コア)\\ | ※FLOPS は理論値(4 FLOPS/Clock × 3.3GHz × 6コア)\\ | ||
- | {{:python: | + | {{python: |
\\ | \\ | ||
< | < | ||
行 204: | 行 231: | ||
</ | </ | ||
- | === マウスコンピュータ LB-L561S === | + | ===== マウスコンピュータ LB-L561S |
- | {{:python: | + | {{python: |
**NVIDIA GeForce GT 640M**\\ | **NVIDIA GeForce GT 640M**\\ | ||
< | < | ||
行 215: | 行 242: | ||
Shading Units: 384 | Shading Units: 384 | ||
</ | </ | ||
- | {{:python: | + | {{python: |
\\ | \\ | ||
**Intel(R) HD Graphics 4000**\\ | **Intel(R) HD Graphics 4000**\\ | ||
行 227: | 行 254: | ||
</ | </ | ||
\\ | \\ | ||
- | **Intel(R) | + | **Intel® |
< | < | ||
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 | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Google Colaboratory (略称: Colab) ===== | ||
+ | **CPU: Intel® Xeon® CPU @ 2.30GHz**\\ | ||
+ | **GPU: NVIDIA® Tesla® T4**\\ | ||
+ | < | ||
+ | TDP: 70W | ||
+ | FLOPS: 8.141 TFLOPS | ||
+ | GPU Clock: 585 MHz | ||
+ | 1590 MHz(Boost) | ||
+ | Memory Clock: 1250 MHz | ||
+ | Shading Units: 2560 | ||
+ | </ | ||
+ | \\ | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | Execution time of test without OpenCL: | ||
+ | =============================================================== | ||
+ | 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: | ||
+ | Device max clock speed: 1113 MHz | ||
+ | Device compute units: 20 | ||
+ | Execution time of test: 0.0010557440 s | ||
Results OK | Results OK | ||
</ | </ | ||
行 534: | 行 592: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
+ | |||
+ | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | |||
[[https:// | [[https:// | ||
[[https:// | [[https:// |