{"id":207620,"date":"2020-11-26T18:01:06","date_gmt":"2020-11-26T10:01:06","guid":{"rendered":"http:\/\/4563.org\/?p=207620"},"modified":"2020-11-26T18:01:06","modified_gmt":"2020-11-26T10:01:06","slug":"%e5%b0%86%e4%bd%8d%e5%9b%be%e5%8a%a0%e8%bd%bd%e5%88%b0-gpu-%e7%9a%84%e5%86%85%e5%ad%98%e5%be%88%e6%85%a2%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=207620","title":{"rendered":"\u5c06\u4f4d\u56fe\u52a0\u8f7d\u5230 GPU \u7684\u5185\u5b58\u5f88\u6162\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5c06\u4f4d\u56fe\u52a0\u8f7d\u5230 GPU \u7684\u5185\u5b58\u5f88\u6162\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BUappend <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5c06\u4f4d\u56fe\u52a0\u8f7d\u5230 GPU \u7684\u5185\u5b58\u5f88\u6162\uff1f\u4e3a\u5565\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4329654\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MCVector <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9700\u8981\u66f4\u591a\u4fe1\u606f\u3002\u7528\u7684\u662f\u4ec0\u4e48 API \uff1f\u662f\u4e0a\u4f20\u5230\u663e\u5b58\u7684\u9636\u6bb5\u6162\u8fd8\u662f\u78c1\u76d8\u7684 io \u6162\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : northisland <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8001\u54e5\uff0c\u7ed9\u7684\u4fe1\u606f\u592a\u5c11\u4e86\u5427\uff0c\u7528\u7684\u662f cudamemcpy api\uff0c\u8fd8\u662f clEnqueueRead\uff0c\u8fd8\u662f\u5176\u4ed6\u4e71\u4e03\u516b\u7cdf\u7684 api\uff0cgpu3 \u79cd\u5185\u5b58\u90fd\u53ef\u4ee5\u653e\u56fe\u7247\u3002\u3002\u3002<\/p>\n<p>\u4ea4\u6362\u6570\u636e\u74f6\u9888\u662f\u603b\u7ebf\uff0cgpu \u7528\u7684\u662f pcie \u603b\u7ebf\uff0c\u53ef\u4ee5\u7b97\u4e00\u4e0b\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : happinessnch <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5370\u8c61\u91cc\u4ece\u5185\u5b58\u62f7\u8d1d\u5230 GPU \u7f13\u5b58\u8fc7\u7a0b\u662f\u4e00\u5904\u6027\u80fd\u74f6\u9888\uff08 13 \u5e74\u5de6\u53f3\u5f97\u5230\u7684\u7ed3\u8bba\uff09\uff0c<br \/>\u6240\u4ee5 AMD \u624d\u5f04\u4e86\u4e2a APU \u5171\u4eab GPU \u548c CPU \u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n<p>\u4f4d\u56fe\u4e3a\u5565\u6162\uff1f\u6240\u8c13\u5feb\u6162\u81f3\u5c11\u8981\u6709\u4e00\u4e2a\u6bd4\u8f83\u5bf9\u8c61\u5427\uff0c\u4f60\u8981\u6bd4\u8f83\u7684\u5bf9\u8c61\u662f\u4ec0\u4e48\uff1f\u662f\u65b9\u6cd5\u3001\u8fd8\u662f\u4e0d\u540c\u683c\u5f0f\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329657\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : BUappend <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @MCVector @happinessnch @northisland \u6211\u5728\u770b\u524d\u7aef\u7684\u52a8\u753b\u4f18\u5316\u7684\u65f6\u5019\u770b\u5230\u4e86\u8fd9\u53e5\u8bdd\uff0c\u5bf9\u4e8e\u52a8\u753b\u6765\u8bf4\uff0c\u6bcf\u6b21\u7684\u91cd\u6392\u90fd\u4f1a\u751f\u6210\u65b0\u7684\u4f4d\u56fe\uff0c\u7136\u540e\u8bf4 \u201c \u5c06\u4f4d\u56fe\u52a0\u8f7d\u5230 GPU \u7684\u5185\u5b58\u662f\u5f88\u6162\u7684\u64cd\u4f5c \u201d \uff0c\u6240\u4ee5\u5c3d\u91cf\u51cf\u5c11\u52a8\u753b\u7684\u91cd\u6392\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329658\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bojue <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             css \u6027\u80fd\u4f18\u5316\u4e3a\u4e86\u51cf\u5c11\u91cd\u7ed8\u548c\u91cd\u6392\uff0c\u53ef\u4ee5\u4f7f\u7528 transfrom \u6216\u8005 opacity \u5408\u6210\u5c42\u5c5e\u6027\u5b9e\u73b0\u52a8\u753b\uff0c\u8fd9\u6837\u6574\u4e2a css \u7ed8\u5236\u6d41\u7a0b\u53ea\u6d89\u53ca\u5230 composite \u3002<\/p>\n<p>Composited Layer \u90fd\u9700\u8981 CPU \u5904\u7406\u4f4d\u56fe\uff0c\u9700\u8981\u8003\u8651 CPU \u7684\u5e26\u5bbd\u95ee\u9898\u548c\u5185\u5b58\u7684\u7ba1\u7406\uff0c\u6240\u4ee5\u9700\u8981\u907f\u514d\u8fc7\u5ea6\u4f7f\u7528 Composited Layer \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329659\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : BUappend <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bojue CPU \u7684\u5e26\u5bbd\u95ee\u9898\u548c\u5185\u5b58\u7684\u7ba1\u7406\uff0c\u80fd\u8be6\u7ec6\u8bf4\u8bf4\u5417                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329660\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bojue <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bojue \u7ec6\u8282\u8bb0\u4e0d\u4f4f\u4e86\uff0c\u4e0d\u8fc7\u53ef\u4ee5\u67e5\u4e00\u4e0b\uff0c\u968f\u624b\u627e\u5230\u4e00\u7bc7 https:\/\/zhuanlan.zhihu.com\/p\/39880024                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4329661\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bojue <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @BUappend \u94fe\u63a5\u8fd8\u53d1\u9519\u4e86\u4f60\u770b\u4e00\u4e0b\u6211\u56de\u590d\u7684\uff0c\u5927\u6982\u610f\u601d\u5c31\u662f\u51cf\u5c11\u7ed8\u5236\u533a\u57df\uff0c\u5c3d\u53ef\u80fd\u7684\u51cf\u5c11\u5bf9\u5185\u5b58\u7684\u6d88\u8017                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06\u4f4d\u56fe\u52a0\u8f7d\u5230 GPU \u7684\u5185\u5b58\u5f88\u6162\uff1f&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207620"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207620"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207620\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207620"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}