{"id":2683,"date":"2013-07-02T14:42:56","date_gmt":"2013-07-02T05:42:56","guid":{"rendered":"http:\/\/peta.okechan.net\/blog\/?p=2683"},"modified":"2013-07-02T15:05:43","modified_gmt":"2013-07-02T06:05:43","slug":"%e6%9c%80%e9%81%a9%e5%8c%96%e3%81%a3%e3%81%a6%e9%9b%a3%e3%81%97%e3%81%84","status":"publish","type":"post","link":"https:\/\/peta.okechan.net\/blog\/archives\/2683","title":{"rendered":"\u6700\u9069\u5316\u3063\u3066\u96e3\u3057\u3044"},"content":{"rendered":"<p>SSE\u3092\u660e\u793a\u7684\u306b\u4f7f\u3046\u3088\u3046\u306b\u3057\u305f\u3089\u3069\u306e\u304f\u3089\u3044\u9ad8\u901f\u5316\u3059\u308b\u304b\u3092\u3001\u4f55\u7a2e\u985e\u304b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u8a08\u6e2c\u3059\u308b\u3068\u3044\u3046\u306e\u3092\u6700\u8fd1\u3084\u3063\u3066\u305f\u3093\u3060\u3051\u3069\u3001<br \/>\n\u7d50\u679c\u7684\u306b\u306f\u3001Intrinsic\u95a2\u6570\uff08\u63a5\u982d\u8f9e_mm\u306a\u30a2\u30ec\uff09\u3092\u4f7f\u3044\u59cb\u3081\u305f\u3070\u304b\u308a\u306e\u7d20\u4eba\u3067\u3042\u308b\u79c1\u304c\u90e8\u5206\u7684\u306bSSE\u3092\u4f7f\u3046\u3088\u3046\u306b\u66f8\u304f\u3088\u308a\u3001\u4f55\u3082\u8003\u3048\u305a\u306b\u66f8\u3044\u3066\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u81ea\u52d5\u6700\u9069\u5316\u306b\u4efb\u305b\u305f\u65b9\u304c\u305f\u3044\u3066\u3044\u306e\u5834\u5408\u5fae\u5999\u306b\u901f\u3044\u3068\u3044\u3046\u7d50\u8ad6\u306b\u9054\u3057\u305f\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093CPU\u306e\u69cb\u9020\u3084\u547d\u4ee4\u3092\u77e5\u308a\u5c3d\u304f\u3057\u305f\u4eba\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5168\u4f53\u7684\u306a\u69cb\u9020\u304c\u5909\u308f\u308b\u304f\u3089\u3044\u6c17\u5408\u3092\u5165\u308c\u3066\u66f8\u3051\u3070\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u81ea\u52d5\u6700\u9069\u5316\u3088\u308a\u901f\u304f\u306a\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u79c1\u81ea\u8eab\u304c\u305d\u306e\u9818\u57df\u306b\u9054\u305b\u308b\u304b\u3069\u3046\u304b\u304c\u602a\u3057\u3044\u3002\u8208\u5473\u306e\u4e0a\u3067\u512a\u5148\u5ea6\u304c\u9ad8\u3044\u3082\u306e\u304c\u4ed6\u306b\u3042\u308b\u3057\u3002<\/p>\n<p>\u3042\u3068\u3001GPGPU\u306b\u95a2\u3057\u3066\u3082\u540c\u3058\u3067<a href=\"https:\/\/peta.okechan.net\/blog\/archives\/2678\" title=\"std::sort\u3068\u72ec\u81ea\u30d0\u30a4\u30c8\u30cb\u30c3\u30af\u30bd\u30fc\u30c8\u3068thrust::sort\u306e\u901f\u5ea6\">\u524d\u56de\u306e\u30bd\u30fc\u30c8\u306e\u6bd4\u8f03<\/a>\u3067\u3082\u305d\u3046\u3060\u3060\u3063\u305f\u3051\u3069\u3001\u306a\u304b\u306a\u304b\u6027\u80fd\u3092\u5f15\u304d\u51fa\u3059\u306e\u304c\u96e3\u3057\u3044\u3002<\/p>\n<p>GPU\u3068CPU\u3067\u306f\u30ab\u30bf\u30ed\u30b0\u30b9\u30da\u30c3\u30af\u4e0a\u3067\u306fFLOPS\u5024\u306b\u5927\u304d\u306a\u5dee\u304c\u3042\u3063\u3066\u3082\u3001\u5b9f\u969b\u306f\u305d\u3053\u307e\u3067\u306e\u5dee\u306f\u51fa\u306a\u3044\u3002<br \/>\n\u3068\u3044\u3046\u304b\u6700\u8fd1\u306e\u30cf\u30a4\u30a8\u30f3\u30c9CPU\u30fbGPU\u540c\u58eb\u3060\u3068\u30ab\u30bf\u30ed\u30b0\u30b9\u30da\u30c3\u30af\u4e0a\u3067\u6bd4\u8f03\u3057\u3066\u308210\u500d\u524d\u5f8c\u3050\u3089\u3044\u3057\u304b\u5dee\u304c\u306a\u3044\u3093\u3058\u3083\u306a\u304b\u308d\u3046\u304b\u3002\uff082GPU\u30921\u30dc\u30fc\u30c9\u306b\u53ce\u3081\u305f\u3082\u306e\u3068\u304b\u96fb\u529b\u7684\u306b\u7121\u8336\u3057\u3066\u308b\u3082\u306e\u3068\u304b\u3082\u542b\u3081\u308b\u306820\u500d\u3050\u3089\u3044\u307e\u3067\u5e83\u304c\u308b\u304b\u3082\uff09<br \/>\n\u3067\u3001GPU\u306fCPU\u306b\u6bd4\u3079\u3066\u67d4\u8edf\u6027\u304c\u4f4e\u3044\u306e\u3067\u5b9f\u6027\u80fd\u30672\u301c3\u500d\u7a0b\u5ea6\u306b\u53ce\u307e\u308b\u3068\u3044\u3046\u5834\u5408\u304c\u591a\u3044\u6c17\u304c\u3059\u308b\u3002<br \/>\n\u307e\u3041\u305d\u308c\u3067\u30822\u500d\u301c3\u500d\u901f\u304f\u306a\u308b\u306a\u3089\u30c1\u30e3\u30ec\u30f3\u30b8\u3059\u308b\u4fa1\u5024\u306f\u3042\u308b\u3051\u3069\u3001\u305d\u3053\u307e\u3067\u5287\u7684\u3063\u3066\u308f\u3051\u3058\u3083\u306a\u3044\u3002<\/p>\n<p>\u305f\u3060\u3057GPU\u306b\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u5b9f\u88c5\u3055\u308c\u3066\u308b\u30c6\u30af\u30b9\u30c1\u30e3\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u6d3b\u304b\u305b\u308b\u7528\u9014\u306a\u3089\u3082\u3063\u3068\u5dee\u304c\u51fa\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br \/>\n\u3057\u304b\u3057\u3069\u3061\u3089\u306b\u3057\u308d\u30e1\u30e2\u30ea\u5e2f\u57df\u3068\u3044\u3046\u9650\u754c\u304c\u3042\u308b\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u6700\u9069\u5316\u3057\u305fGPU\u30b3\u30fc\u30c9 vs \u3061\u3083\u3093\u3068\u6700\u9069\u5316\u3057\u305fCPU\u30b3\u30fc\u30c9\u3060\u30685\u500d\u524d\u5f8c\u3050\u3089\u3044\u307e\u3067\u3057\u304b\u5dee\u304c\u51fa\u306a\u3044\u3093\u3058\u3083\u306a\u304b\u308d\u3046\u304b\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3053\u308c\u306f\u6700\u8fd1\u306e\u30cf\u30a4\u30a8\u30f3\u30c9CPU\u30fbGPU\u3092\u60f3\u5b9a\uff08\u3068\u3044\u3046\u304b\u3061\u3083\u3093\u3068\u8abf\u3079\u305a\u306b\u66f8\u3044\u3066\u308b\u306e\u3067\u5984\u60f3\uff1f\uff09\u3057\u3066\u306e\u4e8b\u306a\u306e\u3067\u3001CPU\u304c\u3057\u3087\u307c\u3044\u306a\u3089GPU\u3092\u4f7f\u3063\u305f\u65b9\u304c\u3044\u3044\u3060\u308d\u3046\u3057\u305d\u306e\u9006\u3082\u3057\u304b\u308a\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u306b\u5168\u3066\u306e\u5834\u5408\u306b\u901a\u7528\u3059\u308b\u3088\u3046\u306a\u7b54\u3048\u306f\u306a\u3044\u306e\u3067\u3001\u3044\u308d\u3093\u306a\u624b\u6cd5\u3092\u305d\u308c\u306a\u308a\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3068\u3044\u305f\u65b9\u304c\u3044\u3044\u3093\u3060\u308d\u3046\u306a\u3002<br \/>\nCPU\u30aa\u30f3\u30ea\u30fc\u306a\u3089\u3001\u3068\u308a\u3042\u3048\u305a\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u6700\u9069\u5316\u80fd\u529b\u3092\u4fe1\u3058\u3066\u307f\u3066\u3001\u305d\u308c\u3067\u3082\u6e80\u8db3\u884c\u304b\u306a\u3044\u306a\u3089\u307e\u305a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u6539\u826f\u3067\u9ad8\u901f\u5316\u51fa\u6765\u306a\u3044\u304b\u8003\u3048\u308b\u3079\u304d\u3067\u3001SSE\u3084\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u306b\u624b\u3092\u51fa\u3059\u306e\u306f\u305d\u306e\u5f8c\u304c\u3044\u3044\u3060\u308d\u3046\u3002<br \/>\n\u305f\u3060\u3001SSE\u3084\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3092\u524d\u63d0\u3068\u3057\u305f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u6539\u826f\u3063\u3066\u306e\u3082\u3042\u308b\u306e\u3067\u9806\u756a\u304c\u96e3\u3057\u3044\u3093\u3060\u3051\u3069\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSE\u3092\u660e\u793a\u7684\u306b\u4f7f\u3046\u3088\u3046\u306b\u3057\u305f\u3089\u3069\u306e\u304f\u3089\u3044\u9ad8\u901f\u5316\u3059\u308b\u304b\u3092\u3001\u4f55\u7a2e\u985e\u304b\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u8a08\u6e2c\u3059\u308b\u3068\u3044\u3046\u306e\u3092\u6700\u8fd1\u3084\u3063\u3066\u305f\u3093\u3060\u3051\u3069\u3001<br \/>\n\u7d50\u679c\u7684\u306b\u306f\u3001Intrinsic\u95a2\u6570\uff08\u63a5\u982d\u8f9e_mm\u306a\u30a2\u30ec\uff09\u3092\u4f7f\u3044\u59cb\u3081\u305f\u3070\u304b\u308a\u306e\u7d20\u4eba\u3067\u3042\u308b\u79c1\u304c\u90e8\u5206\u7684\u306bSSE\u3092\u4f7f\u3046\u3088\u3046\u306b\u66f8\u304f\u3088\u308a\u3001\u4f55\u3082\u8003\u3048\u305a\u306b\u66f8\u3044\u3066\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u81ea\u52d5\u6700\u9069\u5316\u306b\u4efb\u305b\u305f\u65b9\u304c\u305f\u3044\u3066\u3044\u306e\u5834\u5408\u5fae\u5999\u306b\u901f\u3044\u3068\u3044\u3046\u7d50\u8ad6\u306b\u9054\u3057\u305f\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093CPU\u306e\u69cb\u9020\u3084\u547d\u4ee4\u3092\u77e5\u308a\u5c3d\u304f\u3057\u305f\u4eba\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5168\u4f53\u7684\u306a\u69cb\u9020\u304c\u5909\u308f\u308b\u304f\u3089\u3044\u6c17\u5408\u3092\u5165\u308c\u3066\u66f8\u3051\u3070\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u81ea\u52d5\u6700\u9069\u5316\u3088\u308a\u901f\u304f\u306a\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u79c1\u81ea\u8eab\u304c\u305d\u306e\u9818\u57df\u306b\u9054\u305b\u308b\u304b\u3069\u3046\u304b\u304c\u602a\u3057\u3044\u3002\u8208\u5473\u306e\u4e0a\u3067\u512a\u5148\u5ea6\u304c\u9ad8\u3044\u3082\u306e\u304c\u4ed6\u306b\u3042\u308b\u3057\u3002<\/p>\n<p>\u3042\u3068\u3001GPGPU\u306b\u95a2\u3057\u3066\u3082\u540c\u3058\u3067<a href=\"https:\/\/peta.okechan.net\/blog\/archives\/2678\" title=\"std::sort\u3068\u72ec\u81ea\u30d0\u30a4\u30c8\u30cb\u30c3\u30af\u30bd\u30fc\u30c8\u3068thrust::sort\u306e\u901f\u5ea6\">\u524d\u56de\u306e\u30bd\u30fc\u30c8\u306e\u6bd4\u8f03<\/a>\u3067\u3082\u305d\u3046\u3060\u3060\u3063\u305f\u3051\u3069\u3001\u306a\u304b\u306a\u304b\u6027\u80fd\u3092\u5f15\u304d\u51fa\u3059\u306e\u304c\u96e3\u3057\u3044\u3002<\/p>\n<p>GPU\u3068CPU\u3067\u306f\u30ab\u30bf\u30ed\u30b0\u30b9\u30da\u30c3\u30af\u4e0a\u3067\u306fFLOPS\u5024\u306b\u5927\u304d\u306a\u5dee\u304c\u3042\u3063\u3066\u3082\u3001\u5b9f\u969b\u306f\u305d\u3053\u307e\u3067\u306e\u5dee\u306f\u51fa\u306a\u3044\u3002<br \/>\n\u3068\u3044\u3046\u304b\u6700\u8fd1\u306e\u30cf\u30a4\u30a8\u30f3\u30c9CPU\u30fbGPU\u540c\u58eb\u3060\u3068\u30ab\u30bf\u30ed\u30b0\u30b9\u30da\u30c3\u30af\u4e0a\u3067\u6bd4\u8f03\u3057\u3066\u308210\u500d\u524d\u5f8c\u3050\u3089\u3044\u3057\u304b\u5dee\u304c\u306a\u3044\u3093\u3058\u3083\u306a\u304b\u308d\u3046\u304b\u3002\uff082GPU\u30921\u30dc\u30fc\u30c9\u306b\u53ce\u3081\u305f\u3082\u306e\u3068\u304b\u96fb\u529b\u7684\u306b\u7121\u8336\u3057\u3066\u308b\u3082\u306e\u3068\u304b\u3082\u542b\u3081\u308b\u306820\u500d\u3050\u3089\u3044\u307e\u3067\u5e83\u304c\u308b\u304b\u3082\uff09<br \/>\n\u3067\u3001GPU\u306fCPU\u306b\u6bd4\u3079\u3066\u67d4\u8edf\u6027\u304c\u4f4e\u3044\u306e\u3067\u5b9f\u6027\u80fd\u30672\u301c3\u500d\u7a0b\u5ea6\u306b\u53ce\u307e\u308b\u3068\u3044\u3046\u5834\u5408\u304c\u591a\u3044\u6c17\u304c\u3059\u308b\u3002<br \/>\n\u307e\u3041\u305d\u308c\u3067\u30822\u500d\u301c3\u500d\u901f\u304f\u306a\u308b\u306a\u3089\u30c1\u30e3\u30ec\u30f3\u30b8\u3059\u308b\u4fa1\u5024\u306f\u3042\u308b\u3051\u3069\u3001\u305d\u3053\u307e\u3067\u5287\u7684\u3063\u3066\u308f\u3051\u3058\u3083\u306a\u3044\u3002<\/p>\n<p>\u305f\u3060\u3057GPU\u306b\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u5b9f\u88c5\u3055\u308c\u3066\u308b\u30c6\u30af\u30b9\u30c1\u30e3\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u6d3b\u304b\u305b\u308b\u7528\u9014\u306a\u3089\u3082\u3063\u3068\u5dee\u304c\u51fa\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<br \/>\n\u3057\u304b\u3057\u3069\u3061\u3089\u306b\u3057\u308d\u30e1\u30e2\u30ea\u5e2f\u57df\u3068\u3044\u3046\u9650\u754c\u304c\u3042\u308b\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u6700\u9069\u5316\u3057\u305fGPU\u30b3\u30fc\u30c9 vs \u3061\u3083\u3093\u3068\u6700\u9069\u5316\u3057\u305fCPU\u30b3\u30fc\u30c9\u3060\u30685\u500d\u524d\u5f8c\u3050\u3089\u3044\u307e\u3067\u3057\u304b\u5dee\u304c\u51fa\u306a\u3044\u3093\u3058\u3083\u306a\u304b\u308d\u3046\u304b\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3053\u308c\u306f\u6700\u8fd1\u306e\u30cf\u30a4\u30a8\u30f3\u30c9CPU\u30fbGPU\u3092\u60f3\u5b9a\uff08\u3068\u3044\u3046\u304b\u3061\u3083\u3093\u3068\u8abf\u3079\u305a\u306b\u66f8\u3044\u3066\u308b\u306e\u3067\u5984\u60f3\uff1f\uff09\u3057\u3066\u306e\u4e8b\u306a\u306e\u3067\u3001CPU\u304c\u3057\u3087\u307c\u3044\u306a\u3089GPU\u3092\u4f7f\u3063\u305f\u65b9\u304c\u3044\u3044\u3060\u308d\u3046\u3057\u305d\u306e\u9006\u3082\u3057\u304b\u308a\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u306b\u5168\u3066\u306e\u5834\u5408\u306b\u901a\u7528\u3059\u308b\u3088\u3046\u306a\u7b54\u3048\u306f\u306a\u3044\u306e\u3067\u3001\u3044\u308d\u3093\u306a\u624b\u6cd5\u3092\u305d\u308c\u306a\u308a\u306b\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3068\u3044\u305f\u65b9\u304c\u3044\u3044\u3093\u3060\u308d\u3046\u306a\u3002<br \/>\nCPU\u30aa\u30f3\u30ea\u30fc\u306a\u3089\u3001\u3068\u308a\u3042\u3048\u305a\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u6700\u9069\u5316\u80fd\u529b\u3092\u4fe1\u3058\u3066\u307f\u3066\u3001\u305d\u308c\u3067\u3082\u6e80\u8db3\u884c\u304b\u306a\u3044\u306a\u3089\u307e\u305a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u6539\u826f\u3067\u9ad8\u901f\u5316\u51fa\u6765\u306a\u3044\u304b\u8003\u3048\u308b\u3079\u304d\u3067\u3001SSE\u3084\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u306b\u624b\u3092\u51fa\u3059\u306e\u306f\u305d\u306e\u5f8c\u304c\u3044\u3044\u3060\u308d\u3046\u3002<br \/>\n\u305f\u3060\u3001SSE\u3084\u30de\u30eb\u30c1\u30b9\u30ec\u30c3\u30c9\u3092\u524d\u63d0\u3068\u3057\u305f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u6539\u826f\u3063\u3066\u306e\u3082\u3042\u308b\u306e\u3067\u9806\u756a\u304c\u96e3\u3057\u3044\u3093\u3060\u3051\u3069\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[348,460],"class_list":["post-2683","post","type-post","status-publish","format-standard","hentry","category-diary","tag-gpgpu","tag-sse"],"_links":{"self":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/2683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/comments?post=2683"}],"version-history":[{"count":0,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/posts\/2683\/revisions"}],"wp:attachment":[{"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/media?parent=2683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/categories?post=2683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peta.okechan.net\/blog\/wp-json\/wp\/v2\/tags?post=2683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}