PGI????????? ???????????GPGPU - PowerPoint PPT Presentation

Loading...

PPT – PGI????????? ???????????GPGPU PowerPoint presentation | free to download - id: 5a533d-ZTY5N



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

PGI????????? ???????????GPGPU

Description:

PGI GPGPU naota_at_bestsystems.co.jp – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 32
Provided by: Ishikaw2
Learn more at: http://gpu-computing.gsic.titech.ac.jp
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: PGI????????? ???????????GPGPU


1
PGI????????????????????GPGPU
  • ???? ????????
  • ?? ??
  • naota_at_bestsystems.co.jp

2
PGI???GPGPU???
  • ?????????????????
  • Fortran 95 ??? C99 ????????????
  • !acc ..
  • !acc ???
  • pragma acc
  • ??????????????
  • -tanvidia
  • -tanvidia,time ???????????
  • -Minfo,accel ???????????????

3
??????????
  • acc region --- GPU????????
  • acc end region --- GPU????????
  • copyin, copy, copyout --- ???????
  • local --- GPU????????
  • acc do vector --- GPU???????
  • private --- ??????????????????

4
???????????
  • ??????????????
  • ????????????????????
  • ??????256??
  • Cut and try
  • ???????????????????

5
PGI 9.0 ?? 10.0 ????
  • ???????
  • ??????????????
  • GOSA GOSA SS SS
  • ???????????????
  • 9.0 ??????????
  • 10.0 ????????????

6
PGI 9.0??10.0????
  • ????????????????
  • ???????????!acc region???!acc end
    region???????????
  • PGI 9.0-4 ?? 0.229 GFLOPS (CPU????)
  • PGI 10.0 ?? 15.3 GFLOPS
  • ??????????9.0??10.0???20.5 GFLOPS
  • 10.1?10.2 ????????

7
GPGPU???????
  • ?????????
  • ???????????????
  • OpenMP ?? GPGPU ???????
  • ????????????????

8
??????????GPGPU???
  • CUDA????????????
  • ?????????????????C/Fortran
  • GPU??????CPU???????????
  • ?????????????????????
  • ????????????
  • ??????AMD?GPU????CPU?????
  • ????????????CPU?????

9
??1????????
  • ???????????????
  • ??????????
  • http//accc.riken.jp/HPC/HimenoBMT.html

10
GPU?????????????
11
??????????????
  • Portland Group?????
  • ?????????????????
  • ifdef PAD
  • mimax 272 ! GPU?????????????
  • else
  • mimax 257 ! ????????????
  • endif
  • CPU?????850 MFLOPS
  • GPU?????20292 MFLOPS --- 23.8?

12
??????????????
13
Fortran????
  • C/C???????
  • ????????????
  • ????????????
  • implicit none ????????
  • PGI???????????F?????F90?(???)???????????-Mpreproce
    ss????
  • Intel ??????????????-fpp????

14
???????????
  • ???????????(Fortran???)????????????1?????????
  • ????????Non-stride-1 accesses????????????????????
  • copyin, copyout ???????????
  • ??????????????????????????????????
  • vector(64) ?????????????

15
???????????????
  • private ???????
  • ??????????????????????
  • ???????????????????
  • ????? 0
  • ???????????????
  • CPU??????????????????
  • GPU???????

16
??????????????
  • ?????? (??????HPC???)
  • CUDA?????????69.7 GFLOPS
  • ??????????????80??????????
  • ??????????? 0.28?
  • ?????
  • PGI???????????20457.79 MFLOPS
  • NEC (2009?9?2? ??????)
  • PGI???????????18477.78 MFLOPS

17
??2???
  • SGEMM
  • BLAS???????????
  • S --- ?????
  • GE --- ??????
  • MM --- ????
  • Netlib?????????
  • http//www.netlib.org/blas/index.html

18
???????????
19
??????????????
20
??????????
21
??????
  • vector(16) ??????????? 1 GFLOPS
  • vector(16) ??????????? 23 GFLOPS
  • ????????????????16x16????
  • ???????
  • PGI ????????????????

22
??
  • ????????GPU????????

23
??????????
  • sample.f --- GPU???????????????
  • sgemm-4.f --- GPU???
  • Makefile
  • test-sgemm.f --- ???????????

24
???CPU???
  • make sample
  • ./sample

25
?????
  • ?????????????? !acc region
  • ???? !acc end region
  • ????????????????????????????????????
  • make sample
  • ./sample

26
??????(1)
  • ???????????0??????????????????????
  • ???????????????????

27
??????(2)
  • ?????????????????
  • ?????sgemm-4.f?

28
??????
  • ??????local???private?
  • !acc do vector(???)
  • ?copyin???copy???copyout?
  • ???????????-tanvidia,mul24?

29
??????? Bad know how
  • 2010?3?5???PGI 10.3 ????
  • PGI 10.3 ?????????????????
  • ????????????????????
  • ?????????????????????????????????????
  • ???????????????????????????????????

30
???????
  • ??????????????????
  • http//www.bestsystems.co.jp/
  • ?????
  • sales_at_bestsystems.co.jp
  • ???????????????
  • license_at_bestsystems.co.jp

31
Happy hacking!
About PowerShow.com