{"id":88919,"date":"2019-07-27T00:25:00","date_gmt":"2019-07-26T16:25:00","guid":{"rendered":"http:\/\/4563.org\/?p=88919"},"modified":"2019-07-27T00:25:00","modified_gmt":"2019-07-26T16:25:00","slug":"%e5%86%99%e4%ba%86%e4%b8%aa%e8%bd%af%e6%b8%b2%e6%9f%93%ef%bc%8c%e6%a8%a1%e6%8b%9f-gpu-%e7%ae%a1%e7%ba%bf%e6%b5%81%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=88919","title":{"rendered":"\u5199\u4e86\u4e2a\u8f6f\u6e32\u67d3\uff0c\u6a21\u62df GPU \u7ba1\u7ebf\u6d41\u7a0b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5199\u4e86\u4e2a\u8f6f\u6e32\u67d3\uff0c\u6a21\u62df GPU \u7ba1\u7ebf\u6d41\u7a0b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sharpy <\/span>  <span><i><\/i> 54<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u76ee\u524d\u8ff7\u60d1\u5982\u4f55\u8fdb\u4e00\u6b65\u52a0\u901f\u8ba1\u7b97\uff0c\u4e0a simd \u5427\u8fd8\u5f97\u7814\u7a76\u4e00\u4e0b\u3002 \u76f4\u63a5\u5728\u904d\u5386\u9876\u70b9\u65f6\u5f00\u4e86\u4e2a\u7ebf\u7a0b\u6c60\uff0c\u901f\u5ea6\u5c45\u7136\u6bd4\u6211\u5f00 openmp \u8fd8\u5feb\u70b9\u513f\u3002 \u5728\u77e5\u4e4e\u4e0a\u627e\u8d44\u6599 tile-base \u4ec0\u4e48\u7684\uff0c\u8fd8\u5728\u8003\u8651\u600e\u4e48\u5b9e\u73b0\u3002 \u6309\u7167\u81ea\u5df1\u7684\u7406\u89e3\u5b9e\u73b0\u4e86\u4e2a\u51e0\u4f55\u7740\u8272\u5668\uff0c\u76ee\u524d\u80fd\u76f4\u63a5\u6e32\u67d3\u51fa\u6cd5\u7ebf\u56fe\u3002 \u8fd9\u66f2\u9762\u7ec6\u5206\u7740\u8272\u600e\u4e48\u5b9e\u73b0\u6ca1\u627e\u5230\u4ec0\u4e48\u8d44\u6599\uff0c\u96be\u9053\u8ba9\u6211\u76f4\u63a5\u4e0a HalfEdge \u7ed3\u6784\u7b97\u7ec6\u5206\uff1f \u627e\u4e86\u4e9b\u66f4 NB \u7684\u5b9e\u73b0\uff0c\u6bd4\u5982 SwiftShader\uff0c\u7a7a\u660e\u5927\u5927\u7684 Salvia\u3002 \u770b\u5f97\u6709\u70b9\u513f\u61f5\u903c\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"576716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : geekvcn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/github.com\/google\/swiftshader                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"576717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sharpy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @geekvcn \u521a\u60f3\u8bf4\u8fd9\u4e2a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"576718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : geekvcn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sharpy \u7a81\u7136\u53d1\u73b0\u4ed6\u5df2\u7ecf\u7814\u7a76\u8fc7\u4e86\uff0c\u53cd\u6b63\u7814\u7a76\u8fd9\u4e9b\u8f6f\u4ef6\u6e32\u67d3\u4e0d\u5982\u76f4\u63a5\u7814\u7a76 G3D\uff0c\u8f6f\u4ef6\u6e32\u67d3\u901a\u5e38\u662f\u5728\u6ca1\u6709 gpu \u7684\u60c5\u51b5\u4e0b\u7684\u540e\u8865\u65b9\u6848\uff0c\u5f53\u521d\u5b89\u5353 1.5 \u5f88\u591a\u5904\u7406\u5668\u53ea\u6709 2D \u52a0\u901f\u6ca1\u6709 3D \u52a0\u901f\uff0c\u7136\u540e\u5c31\u52a0\u4e86\u4e2a\u8f6f\u4ef6\u517c\u5bb9\u5c42\uff0c\u6548\u679c\u60e8\u4e0d\u5fcd\u7779\uff0c\u5361\u5f97\u4e00\u903c\uff0c\u6bd5\u7adf\u7ec8\u7a76\u53ea\u662f\u517c\u5bb9\u6027\u65b9\u6848                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"576719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : sharpy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @geekvcn \u5199\u8fd9\u73a9\u610f\u513f\uff0c\u4e3b\u8981\u8fd8\u662f\u56fe\u4e2a\u4e50\u5b50\uff0c\u6216\u8bb8\u80fd\u52a0\u6df1\u4e00\u70b9\u513f\u5bf9\u7ba1\u7ebf\u8fc7\u7a0b\u7684\u7406\u89e3\uff0c\u80fd\u9690\u9690\u7ea6\u7ea6\u77e5\u9053 GPU \u5728\u5e72\u561b\u3002<br \/>\u8981\u60f3\u4e0a\u9879\u76ee\uff0c\u5f53\u7136\u5f97 OpenGL\/Metal \u4e86\uff0cVulkan \u6211\u8fd8\u6ca1\u5728\u9879\u76ee\u4e0a\u7528\u8fc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"576720\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : geekvcn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sharpy \u53cd\u6b63\u4f60\u8981\u7814\u7a76\u5c31\u76f4\u63a5\u7814\u7a76 swiftshader \u5c31\u884c\u4e86\uff0c\u8fd9\u662f\u5df2\u7ecf\u7528\u4e8e\u751f\u4ea7\u73af\u5883\u7684\u4e1c\u897f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"576721\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : quadpixels <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u592a\u5389\u5bb3\u4e86\uff0c\u8bf7\u95ee\u7528\u4e86\u591a\u5c11\u65f6\u95f4\u505a\u5230\u73b0\u5728\u8fd9\u6837\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"576722\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dick20cm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @sharpy \u633a\u597d\u7684\uff0c\u8bfb\u4e66\u7684\u65f6\u5019\u6709\u8db3\u591f\u7684\u65f6\u95f4\uff0c\u5c31\u8be5\u4f7f\u52b2\u9020\u8f6e\u5b50\uff0c\u4ec0\u4e48 CPU GPU Compiler \u64cd\u4f5c\u7cfb\u7edf \u6570\u636e\u5e93\uff0c\u628a\u57fa\u7840\u641e\u61c2\u4e86\uff0c\u8c03\u5e93\u5c31\u548c\u73a9\u4e00\u6837\u3002\u5c0f\u54e5\u524d\u9014\u4e0d\u53ef\u9650\u91cf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5199\u4e86\u4e2a\u8f6f\u6e32\u67d3\uff0c\u6a21\u62df GPU \u7ba1\u7ebf\u6d41&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\/88919"}],"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=88919"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88919\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88919"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}