Upgrade to Pro — share decks privately, control downloads, hide ads and more …

最小限の実装で試す MetalによるGPUコンピューティング

yuky_az
February 15, 2017

最小限の実装で試す MetalによるGPUコンピューティング

potatotips #37 (iOS/Android開発Tips共有会)での発表に用いたスライドです。

yuky_az

February 15, 2017
Tweet

More Decks by yuky_az

Other Decks in Technology

Transcript

  1. Metal Shading Language JODMVEFNFUBM@TUEMJC VTJOHOBNFTQBDFNFUBM LFSOFMWPJEBEE0OF DPOTUEFWJDFqPBU JOQVU%BUB<<CV⒎FS  >>

     EFWJDFqPBU PVUQVU%BUB<<CV⒎FS  >>  VJOUJE<<UISFBE@QPTJUJPO@JO@HSJE>>  \ qPBUSFTVMUJOQVU%BUB<JE> SFTVMU G PVUQVU%BUB<JE>SFTVMU ^
  2. GPU vs CPU ɾೖྗʹΛ଍ͯ͠Ҿ͘Λ܁Γฦ͢ ɾ$16ଆͰ͸ɺ্هΛສY/ճ ɾ(16ଆͰ͸ສεϨουY/ճ LFSOFMWPJEBEE"OE4VCUSBDU DPOTUEFWJDFqPBU JOQVU%BUB<<CV⒎FS 

    >>  EFWJDFqPBU PVUQVU%BUB<<CV⒎FS  >>  VJOUJE<<UISFBE@QPTJUJPO@JO@HSJE>>  \ qPBUSFTVMUJOQVU%BUB<JE> GPS VJOUJJ/J \ SFTVMU G SFTVMUG ^ PVUQVU%BUB<JE>SFTVMU ^
  3. γΣʔμʔͷίʔυ LFSOFMWPJENPWF ʜ GPS VJOUJJOPEF$PVOUJ \ ʜ ౳ڑ཭ qPBUBUUSBDUJPOFYQ C

     EJTUBODFB EJTUBODFB  qPBUSFQVMTJPOFYQ C EJTUBODF EJTUBODF  E"OHMF BMQIB  OFBS"OHMF BUUSBDUJPO GBS"OHMF SFQVMTJPO JOUFSWBM ฒߦ qPBUQBSBMMFM"OHMF%JGHFU3BOHFE"OHMF OPEFBOHMFDVSSFOU/PEFBOHMF  E"OHMF CFUB QBSBMMFM"OHMF%JG FYQ C EJTUBODF EJTUBODF  JOUFSWBM ౳଎౓ qPBUOPEF7FMPDJUZTRSU OPEFWFMPDJUZ9 OPEFWFMPDJUZ9 OPEFWFMPDJUZ: OPEFWFMPDJUZ:  WFMPDJUZ HBNNB  OPEF7FMPDJUZWFMPDJUZ  FYQ C EJTUBODF EJTUBODF  ^