⑴ xPU锛圕PU,GPU,NPU锛夋傚康鍙婂尯鍒
寮曡█锛链鏂囨棬鍦ㄤ负澶у舵彁渚涙繁鍏ョ悊瑙e拰鎺㈣▁PU姒傚康銆佸樊寮备互鍙婂疄闄呭簲鐢ㄧ殑骞冲彴锛屾墍链夊唴瀹瑰潎婧愪簬瀛︿範浜ゆ祦锛屽傛湁渚垫潈锛岃峰强镞跺憡鐭ワ纴阌栾涔嫔勪篃娆㈣繋鎸囨o纴鎴戜滑鍏卞悓杩涙ャ (source: 缃戠粶)
1. xPU涓栫晫涓镄勪笁宸ㄥご锛氭傚康涓庡父瑙佺敤阃
棣栧厛锛岃╂垜浠𨱒ュ畾涔墄PU锛屽畠娑电洊浜咰PU锛堜腑澶澶勭悊鍣锛夈丢PU锛埚浘褰㈠勭悊鍣锛夊拰NPU锛堢炵粡澶勭悊鍗曞厓锛夎繖涓夊ぇ鍏抽敭缁勪欢銆侰PU浣滀负璁$畻链虹殑镙稿绩锛屾墽琛岀潃绯荤粺镄勬带鍒跺拰璁$畻浠诲姟锛汫PU鍒欎互鍏跺苟琛屽勭悊鑳藉姏鍦ㄦ父鎴忓浘褰㈡覆镆揿拰绉戝﹁$畻涓澶ф斁寮傚僵锛涜孨PU鍒欎笓涓篈I鍜屾満鍣ㄥ︿範钥岀敓锛屽勭悊澶ч噺鏁版嵁鍜屽嶆潅镄勭畻娉曘
2. 鍖哄埆涓庡尯鍒嗭细鐗规т笌浼桦娍
GPU涓嶤PU镄勪富瑕佸尯鍒鍦ㄤ簬鍏舵灦鏋勮捐★纴GPU阃氲繃澶ч噺灏忔牳蹇冨勭悊骞惰屼换锷★纴浣垮叾鍦ㄥ浘褰㈠勭悊鍜屽ぇ瑙勬ā鏁版嵁骞惰屾搷浣滀腑鏁堢巼镟撮珮銆侽penGLES3.2鍜孍GL1.4灞旷ず浜咷PU鍦2D鍜3D锲惧舰娓叉煋涓镄勫崜瓒婅兘锷涳纴钥孙penCL2.0鍒椤𪾢绀轰简鍏跺湪浜戣$畻鍜屽祵鍏ュ纺璁惧囦笂镄勫苟琛岀紪绋嬫綔锷涖
CUDA锛屼綔涓篘VIDIA镄勬爣蹇楁ф妧链锛屾彁渚涗简GPU镄勯氱敤璁$畻鑳藉姏锛屼娇寰楀师链涓扑负锲惧舰璁捐$殑纭浠朵篃鑳藉簲瀵瑰嶆潅镄勮$畻瀵嗛泦鍨嬩换锷°侰UDA Compute Unified Device Architecture锛圕UDA鏋舵瀯锛夌殑鍑虹幇锛屾帹锷ㄤ简GPU鍦ㄧ戝﹁$畻鍜孉I棰嗗烟镄勫箍娉涘簲鐢ㄣ
3. 瀹炶返搴旂敤锛欸PU镄勫疄鎴樻妧宸
鍒╃敤GPU杩涜岃$畻镞讹纴渚嫔傚湪娓告垙寮鍙戜腑锛孙penGLES3.2鍜孍GL1.4鍙浠ヤ紭鍖栧浘褰㈡覆镆掳纴鎻愬崌鐢ㄦ埛浣挞獙銆傚湪绉戠爷鍜屽伐绋嬮嗗烟锛孙penCL2.0鍙浠ュ姞阃熷ぇ瑙勬ā鏁版嵁澶勭悊鍜屽苟琛岃$畻浠诲姟銆傝孋UDA鍒欎负娣卞害瀛︿範妯″瀷镄勮缁冩彁渚涗简寮哄ぇ镄勮$畻鏀鎸侊纴濡傚嵎绉绁炵粡缃戠粶锛圕NN锛夊拰寰鐜绁炵粡缃戠粶锛圧NN锛夈
镐荤殑𨱒ヨ达纴xPU瀹舵棌镄勬疮涓鎴愬憳閮芥湁鍏剁嫭鐗圭殑浼桦娍锛岀悊瑙e畠浠镄勭壒镐у拰宸寮傦纴鍙浠ュ府锷╂垜浠镟存湁鏁埚湴鍒╃敤杩欎簺寮哄ぇ镄勮$畻璧勬簮锛屾帹锷ㄧ戞妧镄勫彂灞曞拰鍒涙柊銆