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

Have you ever heard GPUs cry?

Have you ever heard GPUs cry?

presented at Kyoto.js 14.
https://kyotojs.connpass.com/event/80019/

fand/amagitakayosi

March 24, 2018
Tweet

More Decks by fand/amagitakayosi

Other Decks in Technology

Transcript

  1. BNBHJUBLBZPTJ
    ܅͸(16ͷ
    ׻੠Λௌ͍ͨ
    ͜ͱ͕͋Δ͔

    View full-size slide

  2. @amagitakayosi

    View full-size slide

  3. "UPNͰ7+Ͱ͖Δౕ࡞ͬͯ·͢

    View full-size slide

  4. ͳΜ͔Ի΋໐ΔΑ͏ʹͳͬͨʂʂ

    View full-size slide

  5. IUUQTBUPNJPQBDLBHFTWFEB
    !!!!!!!!!!
    ࠓ͙͢μ΢ϯϩʔ
    υʂʂʂ
    !!!!!!!!!!!
    !!!!!!!!!!
    !!!!!!!!!!
    !!!!!!!!!!!
    !!!!!!!!!!

    View full-size slide

  6. VEDA
    w "UPNͰ7+Ͱ͖Δύοέʔδ
    w (-4-ͷ࣮ߦ؀ڥ
    w (-4-Ͱө૾ΛϦΞϧλΠϜʹੜ੒ͨ͠Γ
    w ಈըը૾Λϩʔυͯ͠

    (-4-ͰՃ޻Ͱ͖ΔΑ͏ʹͨ͠Γ

    View full-size slide

  7. (-4-γΣʔμʔͷҰछ
    w %$(ͰӄӨΛܭࢉ͢ΔͨΊͷݴޠ
    w ޫݯͷҐஔ͔Β৭Λܭࢉͨ͠Γ
    w ςΫενϟషͬͨΓ
    w 8FC(-Ͱը૾ʹΤϑΣΫτ͔͚Δͷʹ΋

    ར༻͞ΕΔ

    View full-size slide

  8. ,ZPUPKTͷαΠτ

    View full-size slide

  9. γΣʔμʔΞʔτ
    w (-4-͸(16ύϫʔΛϑϧ׆༻Ͱ͖Δ
    w ʮ(-4-͚ͩͰෳࡶͳάϥϑΟοΫදݱΛ

    ɹඳըͰ͖ΔͷͰ͸ʁʯ
    w ͳ͔ͥ୯ମͰΞχϝʔγϣϯͱ͔7+ʹ

    ࢖ΘΕΔΑ͏ʹ

    View full-size slide

  10. ࢀߟLJOUSPl&MFWBUFEz
    IUUQTXXXZPVUVCFDPNXBUDI WK#W#NJ5SP

    View full-size slide

  11. 7&%"ͷ͘͠Έ
    w "UPN͸&MFDUSPOͳͷͰ8FC(-͕ಈ͘ʂ
    w ฤूதͷ(-4-ίʔυΛධՁͯ͠

    શը໘දࣔͷDBOWBTʹඳը͢Δ
    w ଞʹ΋8FC"VEJPͱ͔8FC.*%*ͱ͔

    ϒϥ΢βͷ"1*͕࢖͍์୊

    View full-size slide

  12. IUUQTXXXqJDLSDPNQIPUPTIFMMPDBUGPPE
    SOUnD
    SHader
    SOUnD
    SHader
    SOUnD
    SHader

    View full-size slide

  13. 4PVOE4IBEFS
    w (-4-ͰԻָΛੜ੒
    w ϝΨσϞͰΑ͘࢖ΘΕΔ
    w Ի੠ϑΝΠϧ͕ෆཁʹͳΔͷͰ

    ϑΝΠϧαΠζΛ࡟ݮͰ͖Δ

    View full-size slide

  14. ࢀߟLJOUSPl&MFWBUFEz
    IUUQTXXXTIBEFSUPZDPNWJFX9UM4%

    View full-size slide

  15. IUUQTXXXTIBEFSUPZDPNWJFX9UM4%
    ࢀߟ(-4-͚ͩͰϚϦΦ

    View full-size slide

  16. 4PVOE4IBEFSͷ͘͠Έ
    w (-4-Ͱը૾Λੜ੒
    w 8FC"VEJP"1*ͳͲͰ

    ը૾ΛԻʹม׵

    View full-size slide

  17. Ի੠߹੒
    w ࣌ࠁ αϯϓϧ
    ͝ͱʹ೾ͷߴ͞Λܭࢉ͢Δ

    View full-size slide

  18. (-4-ͰԻ੠߹੒
    w ϐΫηϧ͝ͱʹαϯϓϧΛܭࢉ
    t

    View full-size slide

  19. (-4-Ͱ߹੒
    w ϐΫηϧ͝ͱʹαϯϓϧΛܭࢉ
    t

    View full-size slide

  20. (-4-Ͱ߹੒
    w ϐΫηϧ͝ͱʹαϯϓϧΛܭࢉ
    t

    View full-size slide

  21. 3(#"ʹ֨ೲ͢ΔͨΊʹ৭ʑ΍ͬͯΔ

    View full-size slide

  22. ͋ͱ͸͍ͭ΋௨Γ
    Ի੠߹੒
    w (-4-ͰԻָΛੜ੒
    w ϝΨσϞͰΑ͘࢖ΘΕΔ
    w Ի੠ϑΝΠϧ͕ෆཁʹͳΔͷͰ

    ϑΝΠϧαΠζΛ࡟ݮͰ͖Δ

    View full-size slide

  23. ͜ͷลͷࢀߟࢿྉ
    w '.4$BUࢯͷϝΨσϞษڧձͰͷൃදࢿྉ

    IUUQTHJUIVCDPN'.4$BU
    HMTMNVTJD
    w /PUBSHTࢯͷ(-4-࡞ۂߨ࠲

    IUUQTRJJUBDPNOPUBSHTJUFNT
    ⒎FDDDCGD

    View full-size slide

  24. Ի੠αϯϓϧ
    ࢖͍ͨ͘ͳ͍ʜʜʁ

    View full-size slide

  25. 4PVOE-PBEFSͷ࢓૊Έ
    w Ի੠Λը૾ʹม׵
    w ը૾ΛςΫενϟͱͯ͠(16ʹϩʔυ
    w (-4-ͰԻ੠ॲཧͯ͠ը૾Λੜ੒
    w ը૾ΛԻ੠ʹม׵

    View full-size slide

  26. 4PVOE-PBEFSͷ࢓૊Έ
    Ի੠Λը૾ʹม׵

    View full-size slide

  27. 4PVOE-PBEFSͷ࢓૊Έ
    ը૾ΛςΫενϟͱͯ͠(16ʹϩʔυ

    View full-size slide

  28. 4PVOE-PBEFSͷ࢓૊Έ
    ը૾ΛςΫενϟͱͯ͠(16ʹϩʔυ

    View full-size slide

  29. 4PVOE-PBEFSͷ࢓૊Έ
    (-4-ͰԻ੠߹੒ͯ͠ը૾Λੜ੒

    View full-size slide

  30. 4PVOE-PBEFSͷ࢓૊Έ
    ը૾ΛԻ੠ʹม׵

    View full-size slide

  31. DeMO
    DeMO
    DeMO

    View full-size slide

  32. eNJOY
    GLSL!!
    eNJOY
    GLSL!!
    eNJOY
    GLSL!!

    View full-size slide