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

Metal for data-parallel computations

Metal for data-parallel computations

グラフィックス以外の分野でのMetalの可能性

iOSDC 2018 LT 発表資料

kotetu (kotetuco)

September 02, 2018
Tweet

More Decks by kotetu (kotetuco)

Other Decks in Programming

Transcript

  1. Kuriyama Toru (܀ࢁప) iOS / Android developer ɹɹɹɹɹɹɹɹat Sansan app

    (iOS/Android) Twitter: @kotetuɹɹɹɹɹɹ Github, Qiita: @kotetuco
  2. Metalͷ༻్ “Render advanced 3D graphics and perform data-parallel computations using

    the GPU.” ʮGPUΛ࢖ͬͨߴ౓ͳ3DϨϯμϦϯάͱฒྻॲཧʯ https://developer.apple.com/documentation/metal 4 / 14
  3. Metalͷ༻్ “Render advanced 3D graphics and perform data-parallel computations using

    the GPU.” ʮGPUΛ࢖ͬͨߴ౓ͳ3DϨϯμϦϯάͱฒྻॲཧʯ https://developer.apple.com/documentation/metal 4 / 14 3DάϥϑΟοΫεҎ֎ͷ༻్΋૝ఆ
  4. ࣮ݧɿը૾ॲཧͷॲཧ࣌ؒɹɹ Λൺֱɹɹ • OpenCV (CPU) • Metal (GPU) • Metal

    Performance Shader ɹɹɹɹɹ (MetalΛ࢖ͬͨը૾ɾฒྻॲཧϥΠϒϥϦ) 9 / 14
  5. ݕূ༻ΞϓϦ • githubʹ͋Γ·͢(Լهࢀর) • Xcode 10 (beta 6) • iOS11+

    (࣮ػ͕ඞཁ) • OpenCV 3.4.2 12 / 14 https://github.com/kotetuco/ComparisonOfMetalAndOpenCV