{"id":459766,"date":"2025-05-15T15:00:35","date_gmt":"2025-05-15T15:00:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=459766"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=459766","title":{"rendered":"<span>\u0415\u0441\u0442\u044c \u043b\u0438 \u0443 AMD \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u044b \u0432 AI\/ML\/DL. \u0427\u0430\u0441\u0442\u044c 1<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/pp\/il\/nn\/ppilnnonuwq4eun4yadw_qj2yri.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/pp\/il\/nn\/ppilnnonuwq4eun4yadw_qj2yri.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/pp\/il\/nn\/ppilnnonuwq4eun4yadw_qj2yri.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u042f \u0415\u0444\u0438\u043c \u0413\u043e\u043b\u043e\u0432\u0438\u043d, \u0441\u0442\u0430\u0440\u0448\u0438\u0439 MLOps-\u0438\u043d\u0436\u0435\u043d\u0435\u0440 <a href=\"https:\/\/selectel.ru\/solutions\/artificial-intelligence-machine-learning\/?utm_source=habr.com&amp;utm_medium=referral&amp;utm_campaign=myselectel_article_amd4ml_150525_content\">\u0432 Selectel<\/a>. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u043c\u044b \u0432 \u043e\u0442\u0434\u0435\u043b\u0435 Data\/ML \u043d\u0430\u0447\u0430\u043b\u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u0430 \u043a\u0430\u043a \u0442\u0430\u043c \u043f\u043e\u0436\u0438\u0432\u0430\u0435\u0442 AMD? \u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u043c\u0430\u0441\u0441\u0430 \u0434\u0435\u043b, \u043d\u043e \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e, \u0441\u043a\u043e\u0440\u0435\u0435, \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u0432 \u043f\u043b\u0430\u043d\u0435 AI\/DL\/ML. \u0421 NVIDIA \u0432\u0441\u0435 \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 \u044f\u0441\u043d\u043e, \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442. \u0410 \u0432\u043e\u0442 AMD \u2014 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0435. \u042f \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b, \u0447\u0442\u043e \u0443 \u00ab\u043a\u0440\u0430\u0441\u043d\u044b\u0445\u00bb \u0445\u043e\u0442\u044f \u0431\u044b \u0432 \u043f\u043b\u0430\u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0441\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u0443 NVIDIA. \u041d\u043e \u0440\u0435\u0448\u0438\u043b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u044d\u0442\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043e\u0431\u0435\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u0438 \u043f\u043e\u043f\u0430\u043b \u0432 \u0434\u0438\u0432\u043d\u044b\u0439 \u043c\u0438\u0440 \u0445\u0430\u043e\u0441\u0430, \u0431\u0430\u0440\u0434\u0430\u043a\u0430 \u0438 \u0440\u0430\u0437\u0431\u0440\u043e\u0441\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0445. \u041d\u0435 \u043c\u043e\u0433\u0443 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0435\u0431\u0435, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0435. \u041d\u0430\u0447\u043d\u0435\u043c, \u043a\u0430\u043a \u043d\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u0441 \u043f\u043e\u0438\u0441\u043a\u0430 \u0438\u0441\u0442\u0438\u043d\u044b \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NVIDIA.<a name=\"habracut\"><\/a><\/p>\n<blockquote><p><b>\u0417\u0430\u043a\u0430\u0436\u0438\u0442\u0435 <a href=\"https:\/\/selectel.ru\/services\/dedicated\/config\/?uuid=0c08458f-3368-4d38-8714-294e7213c62a?utm_source=habr.com&amp;utm_medium=referral&amp;utm_campaign=myselectel_article_amd4ml_150525_content\">\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 GPU \u043e\u0442 AMD<\/a><\/b>. \u041f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c: 16-\u044f\u0434\u0435\u0440\u043d\u044b\u0439 AMD Ryzen<sup>TM<\/sup> 9 9950X 3,4 \u0413\u0413\u0446, \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442\u0430 AMD Radeon RX 7900XT 20 \u0413\u0411 GDDR6, 48 \u0413\u0411 RAM DDR5 \u0438 1 000 \u0413\u0411 SSD NVMe M.2.<\/p><\/blockquote>\n<p> <b>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0447\u0438\u0442\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e:<\/b><br \/> \u2192 <a href=\"#1\">\u0421\u0442\u043e\u0438\u0442 \u043b\u0438 \u0432\u0441\u0435\u0440\u044c\u0435\u0437 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c AMD \u0434\u043b\u044f AI-\u0437\u0430\u0434\u0430\u0447<\/a><br \/> \u2192 <a href=\"#2\">Compute Capability<\/a><br \/> \u2192 <a href=\"#3\">LLVM \u0438 NVCC<\/a><br \/> \u2192 <a href=\"#4\">\u0427\u0442\u043e \u0435\u0449\u0435 \u0437\u0430 SM<\/a><br \/> \u2192 <a href=\"#5\">Virtual vs Actual<\/a><br \/> \u2192 <a href=\"#6\">\u041f\u043e\u0434\u0432\u0435\u0434\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0438\u0442\u043e\u0433<\/a><\/p>\n<p> <a name=\"1\"><\/a><font color=\"#EB4247\"><\/p>\n<h2>\u0421\u0442\u043e\u0438\u0442 \u043b\u0438 \u0432\u0441\u0435\u0440\u044c\u0435\u0437 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c AMD \u0434\u043b\u044f AI-\u0437\u0430\u0434\u0430\u0447<\/h2>\n<p><\/font><br \/> \u0421\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442\u0438 \u0440\u0430\u0434\u0438 \u043e\u0442\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u0432\u043e\u043f\u0440\u043e\u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e\u0441\u0442\u0438 \u0436\u0435\u043b\u0435\u0437\u0430 \u0438 \u0441\u043e\u0444\u0442\u0430 \u043e\u0442 AMD \u043a \u0437\u0430\u0434\u0430\u0447\u0430\u043c AI\/DL\/ML \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u043d\u044f \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438. \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430: \u043d\u0430 Reddit \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0442\u0435\u043c\u0443 \u00ab<a href=\"https:\/\/www.reddit.com\/r\/Amd\/comments\/12txell\/amd_gpus_for_ai\/\">AMD GPUs for Ai?<\/a>\u00bb.<\/p>\n<p> \u041e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044e \u0443\u0436\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445 \u043b\u0435\u0442. \u0422\u043e \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u0434\u0432\u0430 \u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434 \u043b\u044e\u0434\u0438 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0430\u043b\u0438, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441 CUDA \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u043f\u0440\u043e\u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0443 AMD \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 API, \u0430 CUDA \u2014 \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e NVIDIA, \u0434\u0430 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435, AMD \u0431\u0443\u0434\u0435\u0442 \u0432\u0430\u0441 \u043a\u043e\u0440\u043c\u0438\u0442\u044c \u0437\u0430\u0432\u0442\u0440\u0430\u043a\u0430\u043c\u0438, \u0430 \u0432\u043e\u0442 NVIDIA \u0434\u043e\u043c\u0438\u043d\u0438\u0440\u0443\u0435\u0442 \u0432 AI \u0438 ML \u0443\u0436\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f. \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e \u0432\u0441\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 AMD. \u041d\u043e \u0437\u0430 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u043c\u043e\u0433\u043b\u043e \u0438 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438?<\/p>\n<p> \u0412\u0438\u0434\u0438\u043c\u043e \u0442\u0430\u043a, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e 12-\u0433\u043e \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2022-\u0433\u043e \u0433\u043e\u0434\u0430 AMD <a href=\"https:\/\/www.amd.com\/en\/newsroom\/press-releases\/2022-9-12-amd-joins-new-pytorch-foundation-as-founding-membe.html\">\u0432\u043e\u0448\u043b\u0430<\/a> \u0432 \u0441\u043e\u0441\u0442\u0430\u0432 \u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 PyTorch Foundation. \u041f\u043e\u0437\u0436\u0435 \u043e\u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0432\u043f\u043e\u043b\u043d\u0435 \u043e\u0449\u0443\u0442\u0438\u043c\u044b\u0435 \u0443\u0441\u0438\u043b\u0438\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u043b\u0438\u0442\u044c\u0441\u044f \u0432 AI\/DL\/ML-\u0442\u0443\u0441\u043e\u0432\u043a\u0443.<\/p>\n<p> \u0422\u0430\u043a \u0432\u043e\u0442, 14 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2023 \u043d\u0430\u0448 \u043f\u0440\u043e\u0434\u0430\u043a\u0442-\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0438 \u0441\u043e\u043e\u0441\u043d\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 <a href=\"https:\/\/t.me\/mlpathway\">ML\u0435\u0447\u043d\u044b\u0439 \u043f\u0443\u0442\u044c<\/a> \u0410\u043d\u0442\u043e\u043d \u0427\u0443\u043d\u0430\u0435\u0432 \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b \u043d\u0430 \u043d\u0430\u0448\u0435\u0439 \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u043e\u0439 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u0432\u0441\u0442\u0440\u0435\u0447\u0435 <a href=\"https:\/\/vkvideo.ru\/video-11462611_456239350\">\u0441 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u043c<\/a>. \u0412 \u043d\u0435\u043c \u043e\u043d \u0432 \u0447\u0438\u0441\u043b\u0435 \u043f\u0440\u043e\u0447\u0435\u0433\u043e \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u043b \u043e\u0447\u0435\u043d\u044c <a href=\"https:\/\/www.databricks.com\/blog\/amd-mi250\">\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u0435\u0439\u0441<\/a> \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0435\u043e\u043a\u0430\u0440\u0442 \u043e\u0442 AMD \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432\u044b\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439. \u041f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043a\u0435\u0439\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c, \u0447\u0442\u043e AMD \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e \u0432\u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c \u0432 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0434 PyTorch \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043e\u0442 NVIDIA \u043d\u0430 AMD. \u0415\u0449\u0435 \u0441\u043f\u0443\u0441\u0442\u044f \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0432\u0440\u0435\u043c\u044f \u0410\u043d\u0442\u043e\u043d \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u043c\u043d\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u0433\u043b\u0443\u0431\u0436\u0435. \u0427\u0442\u043e \u0436\u2026<\/p>\n<blockquote><p>\u0421\u0440\u0430\u0437\u0443 \u043e\u0431\u044a\u044f\u0441\u043d\u044e, \u0437\u0430\u0447\u0435\u043c \u043d\u0430\u043c \u043d\u044b\u0440\u044f\u0442\u044c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0440\u0443\u0449\u043e\u0431\u044b \u0438 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0442\u0430\u043c \u0441\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u0421 \u043c\u043e\u0435\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f, \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0444\u0443\u043d\u0434\u0430\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 GPU.<\/p>\n<p> \u0412\u044b, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043d\u0435 \u0440\u0430\u0437 \u043d\u0430\u0442\u044b\u043a\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u0442\u0438\u043f\u0430 \u00abSM\u00bb, \u00abCompute Capability\u00bb, \u00abkernel\u00bb, \u00abWarp\u00bb, \u00abThread\u00bb, \u00abBlock\u00bb, \u00abGrid\u00bb \u0438 \u043d\u0435\u0447\u0442\u043e \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0438\u0448\u0435\u0442\u0435 \u043a\u043e\u0434 \u043d\u0430 CUDA. \u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NVIDIA \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/%23compute-capability\">\u0438\u0441\u0447\u0435\u0440\u043f\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a> \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u00abCompute Capability\u00bb, \u0434\u0430 \u0438 \u0434\u043b\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430 \u00abkernel\u00bb \u0442\u0430\u043c \u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u043f\u043e\u043b\u043d\u0435 <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/%23kernels\">\u0433\u043e\u0434\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/a>. \u041d\u043e \u043f\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043a\u043e\u043f\u043d\u0443\u0442\u044c \u0447\u0443\u0442\u044c \u0433\u043b\u0443\u0431\u0436\u0435, \u0442\u043e \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0435 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043c\u043d\u043e\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e.<\/p><\/blockquote>\n<p> <a href=\"https:\/\/selectel.ru\/services\/cloud\/mlops\/?utm_source=habr.com&amp;utm_medium=referral&amp;utm_campaign=mlops_article_amd4ml_150525_banner_045_ord\"><\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/-2\/z8\/du\/-2z8dub0xcp2rkd0dixzvvl4daa.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/-2\/z8\/du\/-2z8dub0xcp2rkd0dixzvvl4daa.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/-2\/z8\/du\/-2z8dub0xcp2rkd0dixzvvl4daa.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p><\/a><\/p>\n<p> <a name=\"2\"><\/a><font color=\"#EB4247\"><\/p>\n<h2>Compute Capability<\/h2>\n<p><\/font><br \/> \u041d\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u0435 \u00abCompute Capability\u00bb \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\u0441\u044f \u0447\u0443\u0442\u044c \u043f\u043e\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435. <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/%23compute-capability\">\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NVIDIA<\/a> \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0441\u043a\u0430\u0437\u0430\u043d\u043e, \u0447\u0442\u043e \u043e\u043d\u0430 (\u00abcompute capability\u00bb, \u0438\u043b\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438) \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u0432\u0435\u0440\u0441\u0438\u0438, \u0442\u0430\u043a\u0436\u0435 \u0438\u043d\u043e\u0433\u0434\u0430 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0439 \u00ab\u0432\u0435\u0440\u0441\u0438\u0435\u0439 SM\u00bb:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/me\/d5\/sm\/med5smc_io01fa3meit4x9rxyiy.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/me\/d5\/sm\/med5smc_io01fa3meit4x9rxyiy.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/me\/d5\/sm\/med5smc_io01fa3meit4x9rxyiy.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0415\u0441\u043b\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430\u0442\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0442\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u043b\u043e\u0432\u043e\u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u00abSM version\u00bb (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/forums.developer.nvidia.com\/t\/error-compiling-ptx-file-sm-version-assumed-by-target-is-higher-than-sm-version-assumed\/46372\">\u043d\u0430 \u0444\u043e\u0440\u0443\u043c\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 NVIDIA<\/a>). \u041d\u043e \u043f\u043e\u0447\u0442\u0438 \u0432\u0435\u0437\u0434\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0442 \u0435\u0449\u0435 \u0434\u0432\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u0430: <b>sm_XX<\/b> \u0438 <b>compute_XX<\/b>.<\/p>\n<p> \u0415\u0441\u0442\u044c \u043b\u0438 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043e\u0431 \u044d\u0442\u043e\u043c <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/%23binary-compatibility\">\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>? \u041d\u0443 \u0430 \u043a\u0430\u043a \u0436\u0435:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/8-\/_t\/tq\/8-_ttqffdahfdifc9pkmwm-if2u.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/8-\/_t\/tq\/8-_ttqffdahfdifc9pkmwm-if2u.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/8-\/_t\/tq\/8-_ttqffdahfdifc9pkmwm-if2u.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0421\u0442\u0430\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u0435\u0435? \u0412\u043e\u0442 \u0438 \u043c\u043d\u0435 \u043d\u0435\u0442.<\/p>\n<blockquote><p>\u041a \u0444\u0440\u0430\u0437\u0435 \u0441\u043e \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0430 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u00ab\u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u00bb (\u00abBinary code is architecture-specific\u00bb), \u043c\u044b \u0435\u0449\u0435 \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043d\u0438\u0436\u0435.<\/p><\/blockquote>\n<p> \u041f\u043e\u043d\u044f\u0442\u043d\u043e \u0445\u043e\u0442\u044f \u0431\u044b, \u0447\u0442\u043e sm_XX \u2014 \u044d\u0442\u043e \u043e\u0434\u043d\u043e \u0438\u0437 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 -code, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. \u0410 \u0447\u0442\u043e \u0442\u0430\u043c \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043c \u2014 compute_XX? \u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f, \u0447\u0442\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, compute_90 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 Compute Capability 9.0, \u043d\u043e \u043d\u0435 Compute Capability 9.0a. \u0412 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f compute_90a \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u0442\u043e \u0435\u0441\u0442\u044c \u0438 9.0, \u0438 9.0a.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/nb\/2n\/s4\/nb2ns4hhgc7isqformd6wsk4aky.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/nb\/2n\/s4\/nb2ns4hhgc7isqformd6wsk4aky.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/nb\/2n\/s4\/nb2ns4hhgc7isqformd6wsk4aky.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041d\u0430\u0434\u043e \u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c, \u044d\u0442\u043e \u0442\u043e\u0436\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u043a\u0430\u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430. \u0414\u0430, \u0442\u0430\u043a \u0438 \u0435\u0441\u0442\u044c. \u0412 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442\u0441\u044f -arch=compute_50 (\u0438\u043b\u0438 \u0432\u044b\u0448\u0435):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ul\/yv\/kk\/ulyvkkskypu3gbclee2z47q483q.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/ul\/yv\/kk\/ulyvkkskypu3gbclee2z47q483q.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/ul\/yv\/kk\/ulyvkkskypu3gbclee2z47q483q.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0418\u0442\u0430\u043a, \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 -arch, \u0447\u0442\u043e\u0431\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u043d\u0430 \u0442\u043e\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043a\u043e\u0434. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/index.html%23warp-shuffle-functions\">Warp Shuffle<\/a> \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0440\u0430\u0432\u043d\u043e compute_50.<\/p>\n<p> \u0422\u0443\u0442 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441: \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 PTX code? \u0410 \u044d\u0442\u043e, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Parallel_Thread_Execution\">Parallel Thread Execution<\/a> \u2014 \u043d\u0435\u043a\u0438\u0439 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0433\u043e\u043d\u044f\u0435\u0442\u0441\u044f C\/C++ CUDA \u043a\u043e\u0434, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0435\u0433\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c. \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0442\u043e \u0432\u043e\u0442 \u043a \u043d\u0435\u043c\u0443 <a href=\"https:\/\/docs.nvidia.com\/cuda\/parallel-thread-execution\/\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a>.<\/p>\n<p> <a name=\"3\"><\/a><font color=\"#EB4247\"><\/p>\n<h2>LLVM \u0438 NVCC<\/h2>\n<p><\/font><br \/> \u0418 \u0432\u043e\u0442 \u0442\u0443\u0442 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u043d\u044b\u0440\u043d\u0443\u0442\u044c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432 \u0442\u043e, \u043a\u0430\u043a \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043a\u043e\u0434\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e NVCC. \u0410 \u0435\u0449\u0435 \u0432 \u0442\u043e, \u043a\u0430\u043a \u0432\u043e \u0432\u0441\u0435\u043c \u044d\u0442\u043e\u043c \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u0438 \u0437\u0430\u043c\u0435\u0448\u0430\u043d LLVM.<\/p>\n<p> \u0415\u0441\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e, \u0442\u043e LLVM \u2014 \u044d\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u0430 NVCC. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, NVCC \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 LLVM (\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 <a href=\"https:\/\/llvm.org\/docs\/NVPTXUsage.html\">NVPTX Back-end<\/a>), \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 CUDA-\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u043c\u0438.<\/p>\n<p> \u041d\u0443\u0436\u043d\u044b \u043f\u0440\u0443\u0444\u044b? \u0418\u0434\u0435\u043c <a href=\"https:\/\/developer.nvidia.com\/cuda-llvm-compiler\">\u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 NVCC<\/a>, \u0433\u0434\u0435 \u0441\u043a\u0430\u0437\u0430\u043d\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432\u0441\u0435 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/-x\/aj\/bq\/-xajbqycb9bvxsrnx4nmrpwl3ts.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/-x\/aj\/bq\/-xajbqycb9bvxsrnx4nmrpwl3ts.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/-x\/aj\/bq\/-xajbqycb9bvxsrnx4nmrpwl3ts.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0413\u043e\u0432\u043e\u0440\u044f \u043d\u0430\u0447\u0438\u0441\u0442\u043e\u0442\u0443, LLVM \u0441\u0430\u043c \u043f\u043e \u0441\u0435\u0431\u0435 \u0442\u044f\u043d\u0435\u0442 \u043d\u0430 \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439, \u043f\u0430\u0440\u0443 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u0430\u0441\u043e\u0432\u044b\u0445 \u043b\u0435\u043a\u0446\u0438\u0439 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0435\u0433\u043e \u0431\u044b \u043f\u0430\u0440\u0443-\u0442\u0440\u043e\u0439\u043a\u0443 \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u0438\u0437\u0443\u0447\u0430\u0442\u044c. \u0414\u0430\u0431\u044b \u043d\u0435 \u0437\u0430\u043a\u0430\u043f\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0435\u0433\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0433\u043b\u0443\u0431\u043e\u043a\u043e, \u0432\u043e\u0442 \u0432\u0430\u043c \u0432 \u043f\u043e\u043c\u043e\u0449\u044c <a href=\"https:\/\/habr.com\/ru\/companies\/huawei\/articles\/511854\/\">\u043a\u043b\u0430\u0441\u0441\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430 \u0425\u0430\u0431\u0440\u0435<\/a> \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 LLVM.<\/p>\n<p> \u041d\u043e \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435. \u0427\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435 \u043c\u044b \u0435\u0449\u0435 \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u044d\u0442\u043e\u0439 \u0442\u0435\u043c\u0435 (\u0441\u043f\u043e\u0439\u043b\u0435\u0440: AMD \u0442\u043e\u0436\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0447\u0430\u0441\u0442\u0435\u043d \u043a LLVM). \u0410 \u043f\u043e\u043a\u0430 \u0432\u043d\u043e\u0432\u044c \u043e\u0431\u0440\u0430\u0442\u0438\u043c\u0441\u044f \u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NVIDIA. \u0421\u0445\u043e\u0434\u0443 \u043d\u0430\u0442\u044b\u043a\u0430\u0435\u043c\u0441\u044f \u0432\u043e\u0442 \u043d\u0430 \u0442\u0430\u043a\u0443\u044e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 (<a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-compiler-driver-nvcc\/index.html%23the-cuda-compilation-trajectory\">The CUDA Compilation Trajectory<\/a>):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/5w\/-7\/he\/5w-7heigi1qq3paynd_uzkxwg-y.jpeg\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/5w\/-7\/he\/5w-7heigi1qq3paynd_uzkxwg-y.jpeg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/5w\/-7\/he\/5w-7heigi1qq3paynd_uzkxwg-y.jpeg 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041d\u0443 \u0438 \u0443\u0436 \u0442\u0435\u043f\u0435\u0440\u044c-\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435\u2026 \u0412\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e.<\/p>\n<p> \u041d\u0438\u0436\u0435 \u043d\u0430\u0442\u044b\u043a\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0440\u0430\u0437\u0434\u0435\u043b \u00ab<a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-compiler-driver-nvcc\/index.html%23gpu-generations\">GPU Generations<\/a>\u00bb, \u0433\u0434\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u044a\u044f\u0441\u043d\u044f\u0442\u044c \u0441\u0443\u0442\u044c \u0438 \u0441\u043c\u044b\u0441\u043b \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432 <b>sm_XX<\/b> \u0438 <b>compute_XX<\/b>. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0437\u0434\u0435\u0441\u044c \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u0438 \u0443\u043b\u0443\u0447\u0448\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c, \u0432 \u0441\u0438\u043b\u0443 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u043d\u0430\u0431\u043e\u0440\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043a\u043e\u0434\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443, \u043d\u0435\u043b\u044c\u0437\u044f \u043d\u0430 100% \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0430 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/gw\/5_\/ng\/gw5_ngnbujatztyq6wonorjt6bs.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/gw\/5_\/ng\/gw5_ngnbujatztyq6wonorjt6bs.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/gw\/5_\/ng\/gw5_ngnbujatztyq6wonorjt6bs.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041d\u0430\u043f\u043e\u043c\u043d\u044e \u0435\u0449\u0435 \u0440\u0430\u0437, \u0447\u0442\u043e \u00ab\u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b\u00bb \u0438 \u00ab<a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/%23feature-availability\">\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0430 GPU, \u043d\u0430\u0446\u0435\u043b\u0435\u043d\u0430 \u043d\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 GPU<\/a>, \u0438 \u0444\u0438\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 GPU-\u0448\u043d\u043e\u043c \u043a\u043e\u0434\u0435, \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u0445 GPU\u00bb.<\/p>\n<p> \u0418\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435 \u0438 \u0435\u0449\u0435 \u0440\u0430\u0437 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0431\u044f \u0441\u043c\u044b\u0441\u043b \u0446\u0438\u0444\u0440 \u043f\u043e\u0441\u043b\u0435 <b>sm_<\/b> \u0438 <b>compute_<\/b>. \u0412 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0441\u043e\u0431\u043e\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 XY-\u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u044f \u0432 <b>sm_<\/b> \u0438 <b>compute_<\/b>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/3z\/5t\/q3\/3z5tq3-oicnq-3ndkyjf2e4b2_i.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/3z\/5t\/q3\/3z5tq3-oicnq-3ndkyjf2e4b2_i.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/3z\/5t\/q3\/3z5tq3-oicnq-3ndkyjf2e4b2_i.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> XY-\u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b GPU. X \u0437\u0434\u0435\u0441\u044c \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0435 GPU, \u0430 Y \u2014 \u0437\u0430 \u0432\u0435\u0440\u0441\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f. \u041f\u043b\u044e\u0441, \u0432 \u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a\u0438\u0435 \u0444\u0438\u0447\u0438\/\u0444\u0443\u043d\u043a\u0446\u0438\u0438\/\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f GPU.<\/p>\n<p> \u042d\u0442\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435: \u0435\u0441\u0442\u044c sm_x1y1 \u0438 sm_x2y2 \u0438 \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e x1y1 \u2264 x2y2, \u0447\u0435\u0442\u043a\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442, \u0447\u0442\u043e \u0444\u0438\u0447\u0438\/\u0444\u0443\u043d\u043a\u0446\u0438\u0438\/\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0432 sm_x1y1, \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 sm_x2y2.<\/p>\n<p> \u0418 \u043a\u0441\u0442\u0430\u0442\u0438, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Instruction_set_architecture\">ISA<\/a> \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0432\u044b\u0448\u0435 \u2014 \u044d\u0442\u043e Instruction Set Architecture. \u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u044d\u0442\u043e \u0442\u0430\u043a\u043e\u0435, \u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/www.youtube.com\/watch?v=1KTW32xSs_k\">\u0432\u0438\u0434\u0435\u043e<\/a>, \u0430 \u043c\u044b \u043f\u043e\u043a\u0430 \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435. \u0412\u0435\u0440\u0441\u0438\u0438 ISA \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0434\u043b\u044f NVIDIA \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/docs.nvidia.com\/cuda\/parallel-thread-execution\/%23release-notes\">\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<p> <a name=\"4\"><\/a><font color=\"#EB4247\"><\/p>\n<h2>\u0427\u0442\u043e \u0435\u0449\u0435 \u0437\u0430 SM<\/h2>\n<p><\/font><br \/> \u041d\u0438\u0436\u0435 \u0435\u0441\u0442\u044c \u0434\u0430\u0436\u0435 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0430 \u0441 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440 \u0438 sm\u2019\u043e\u043a:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/vu\/so\/tt\/vusottef2fzwvcpy9qgjmli5c0m.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/vu\/so\/tt\/vusottef2fzwvcpy9qgjmli5c0m.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/vu\/so\/tt\/vusottef2fzwvcpy9qgjmli5c0m.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0443 \u0432\u0430\u0441 \u0432\u043e\u0437\u043d\u0438\u043a \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0436\u0435 \u0442\u0430\u043a\u043e\u0435 \u00abSM\u00bb? \u0412\u043e\u043f\u0440\u043e\u0441 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0438 \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u043e\u0433\u0443\u0433\u043b\u0438\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 \u0441\u0442\u0438\u043b\u0435 \u00abSM nvidia doc\u00bb, \u0442\u043e \u043d\u0430\u0442\u043a\u043d\u0435\u0442\u0435\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u043d\u0430 \u0442\u043e:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/nt\/rm\/xm\/ntrmxmvzr8h7p9zgmaqvxetc8jm.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/nt\/rm\/xm\/ntrmxmvzr8h7p9zgmaqvxetc8jm.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/nt\/rm\/xm\/ntrmxmvzr8h7p9zgmaqvxetc8jm.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0410 \u0432\u043e\u043e\u0431\u0449\u0435, \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 GPU \u00abSM\u00bb \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u00abStream(ing) Multiprocessor\u00bb. \u041e\u0431 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0438\u0445 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/modal.com\/gpu-glossary\/readme\">\u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0433\u043b\u043e\u0441\u0441\u0430\u0440\u0438\u0439<\/a> \u043e\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Modal \u0438\u043b\u0438 \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c <a href=\"https:\/\/fabiensanglard.net\/\">\u0432 \u0431\u043b\u043e\u0433<\/a> \u043a \u0424\u0430\u0431\u044c\u0435\u043d\u0443 \u0421\u0430\u043d\u0433\u0440\u0430\u0440\u0443. \u0422\u0430\u043c \u0435\u0441\u0442\u044c, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, <a href=\"https:\/\/fabiensanglard.net\/cuda\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a> \u043e\u0431 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433-\u043c\u0443\u043b\u044c\u0442\u0438\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432.<\/p>\n<p> \u0422\u0430\u043a\u0436\u0435, \u0434\u0430\u0431\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0441\u0432\u0435\u0436\u0438\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e\u043d\u044f\u0442\u0438\u0435, \u0441\u043a\u0430\u0436\u0435\u043c, \u0448\u0435\u0439\u0434\u0435\u0440\u0430 \u0438 \u0435\u0433\u043e \u0440\u043e\u043b\u0438 \u0432 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0435 \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/media.contented.ru\/glossary\/sheydery\/\">\u0432\u0432\u043e\u0434\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u043f\u043e \u0448\u0435\u0439\u0434\u0435\u0440\u0430\u043c. \u041f\u0440\u043e\u0441\u0442\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 G71 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ip\/-k\/-q\/ip-k-qug37i5qdo0nvbn22tmafc.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/ip\/-k\/-q\/ip-k-qug37i5qdo0nvbn22tmafc.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/ip\/-k\/-q\/ip-k-qug37i5qdo0nvbn22tmafc.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041f\u0440\u043e\u0441\u0442\u043e \u0436\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442, \u043f\u0440\u0430\u0432\u0434\u0430? \ud83d\ude42<\/p>\n<p> \u041d\u0435 \u0437\u043d\u0430\u044e, \u043a\u0430\u043a \u0432\u0430\u043c, \u043d\u043e \u043a\u0430\u043a \u043f\u043e \u043c\u043d\u0435, \u0434\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0442\u044f\u0436\u0435\u043b\u043e\u0432\u0435\u0441\u043d\u043e. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u043e\u0434 \u0432\u0435\u0440\u0448\u0438\u043d\u043d\u044b\u0435 \u0448\u0435\u0439\u0434\u0435\u0440\u044b, \u043f\u0438\u043a\u0441\u0435\u043b\u044c\u043d\u044b\u0435 \u0448\u0435\u0439\u0434\u0435\u0440\u044b\u2026 \u0421\u043b\u043e\u0436\u043d\u043e\u2026 \u041a\u0441\u0442\u0430\u0442\u0438, \u0440\u043e\u0432\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0436\u0435 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0430\u0432\u0442\u043e\u0440 \u0443\u0436\u0435 <a href=\"https:\/\/fabiensanglard.net\/cuda\/\">\u0432\u044b\u0448\u0435\u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430<\/a>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ku\/ic\/hu\/kuichu2d68gqa83y1abxoiysyvy.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/ku\/ic\/hu\/kuichu2d68gqa83y1abxoiysyvy.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/ku\/ic\/hu\/kuichu2d68gqa83y1abxoiysyvy.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/tw\/5l\/bn\/tw5lbnbz7i59isanc2r8pwsvawm.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/tw\/5l\/bn\/tw5lbnbz7i59isanc2r8pwsvawm.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/tw\/5l\/bn\/tw5lbnbz7i59isanc2r8pwsvawm.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> <i>\u00ab\u0422\u0423\u041f\u0418\u041a\u00bb\u2026 \u041e\u043f\u0442\u0438\u043c\u0438\u0441\u0442\u0438\u0447\u043d\u043e, \u043f\u0440\u0430\u0432\u0434\u0430?<\/i><\/p>\n<p> \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u043e\u043f\u044b\u0442\u043a\u043e\u0439 \u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0441 \u043d\u0430\u0440\u0430\u0441\u0442\u0430\u044e\u0449\u0435\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0443\u0437\u043a\u0438\u0445 \u0433\u043e\u0440\u043b\u044b\u0448\u0435\u043a \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u043b\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432\u0441\u0435\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b. \u0422\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 Tesla \u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u0435\u0435 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u2014 SM (Stream(ing) Multiprocessor).<\/p>\n<p> <a name=\"5\"><\/a><font color=\"#EB4247\"><\/p>\n<h2>Virtual vs Actual<\/h2>\n<p><\/font><br \/> \u041d\u043e \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u0444\u0440\u0430\u0437\u0435 \u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432 \u0432\u044b\u0448\u0435: \u00abif we abstract from the instruction encoding\u00bb. \u0412\u043e\u043f\u0440\u043e\u0441: \u0430 \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043c\u044b \u0430\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043e\u0442 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439? \u0412\u0435\u0434\u044c \u0435\u0449\u0435 \u0432\u044b\u0448\u0435 \u0431\u044b\u043b\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e, \u0447\u0442\u043e \u043d\u0430\u0431\u043e\u0440\u044b \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0442\u0441\u044f \u043e\u0442 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f \u043a \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044e. \u0414\u0430 \u0438 <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-compiler-driver-nvcc\/index.html%23application-compatibility\">\u0434\u0430\u043b\u0435\u0435 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a> \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e, \u0447\u0442\u043e NVIDIA \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u043e\u0438\u0447\u043d\u0443\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c, \u043d\u0435 \u0436\u0435\u0440\u0442\u0432\u0443\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f GPU:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/oc\/bt\/gi\/ocbtgizlfxj8wc1nc_8osndzycg.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/oc\/bt\/gi\/ocbtgizlfxj8wc1nc_8osndzycg.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/oc\/bt\/gi\/ocbtgizlfxj8wc1nc_8osndzycg.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0422\u0430\u043a \u043a\u0430\u043a \u0436\u0435 \u0442\u043e\u0433\u0434\u0430 \u0430\u0431\u0441\u0442\u0440\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u044d\u0442\u0438\u0445 \u00ab\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u00bb? \u041e\u0442\u0432\u0435\u0442 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0435\u0449\u0435 \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/_f\/rs\/e3\/_frse3dctlbpu41jutc8aaajpha.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/_f\/rs\/e3\/_frse3dctlbpu41jutc8aaajpha.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/_f\/rs\/e3\/_frse3dctlbpu41jutc8aaajpha.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0418\u043d\u044b\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u043f\u0440\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u044b \u043f\u0435\u0440\u0435\u0433\u043e\u043d\u044f\u0435\u043c \u043a\u043e\u0434 \u0432 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0435\u0433\u043e \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u043a\u043e\u043c\u0430\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043d\u0435\u043a\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439. \u0417\u0430 \u044d\u0442\u0438\u043c, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438 \u043d\u0443\u0436\u0435\u043d \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <b>compute_XX<\/b>.<\/p>\n<p> \u0412\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439-\u0442\u043e \u0431\u0438\u043d\u0430\u0440\u044c \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b. \u0410 \u0432\u043e\u0442 \u0437\u0430 \u044d\u0442\u0438\u043c \u0443\u0436\u0435 \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u043d\u0443\u0436\u0435\u043d <b>sm_XX<\/b>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/s_\/fy\/aw\/s_fyawxmpq7bsz8-6cdcmnavids.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/s_\/fy\/aw\/s_fyawxmpq7bsz8-6cdcmnavids.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/s_\/fy\/aw\/s_fyawxmpq7bsz8-6cdcmnavids.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0418 \u0432\u043e\u0442 \u0443 \u043d\u0430\u0441 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0445\u0435\u043c\u0430.<\/p>\n<ul>\n<li>\u041f\u0435\u0440\u0435\u0433\u043e\u043d\u044f\u044f \u043c\u043e\u0439 C\/C++ CUDA \u043a\u043e\u0434 \u0432 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u0443\u044e PTX-\u0440\u0435\u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e <b>compute_XX<\/b>, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443, \u043a\u0430\u043a\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043a\u0430\u043a\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043c\u043e\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/li>\n<li>\u0424\u043e\u0440\u043c\u0438\u0440\u0443\u044f \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u044c, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e <b>sm_XX<\/b>, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u043e\u0431\u0449\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443, \u043a\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u043e\u0435\u0439 \u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u043d\u043e\u0439 \u0440\u0435\u043f\u0440\u0435\u0437\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043a\u043e\u0434.<\/li>\n<\/ul>\n<p> \u0421\u0445\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u044d\u0442\u0438 \u0441\u0442\u0430\u0434\u0438\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/fl\/5z\/0l\/fl5z0ln3xajl8s2tuqxw9g_uqa0.jpeg\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/fl\/5z\/0l\/fl5z0ln3xajl8s2tuqxw9g_uqa0.jpeg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/fl\/5z\/0l\/fl5z0ln3xajl8s2tuqxw9g_uqa0.jpeg 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041a\u0430\u043a \u0434\u0443\u043c\u0430\u0435\u0442\u0435, \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u044d\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0433\u043e \u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Write_once,_compile_anywhere\">WOCA<\/a> (Write once, compile anywhere)? \u0418\u043b\u0438 \u044d\u0442\u043e, \u0441\u043a\u043e\u0440\u0435\u0435, WORA (Write once, run anywhere)? \u0418\u043b\u0438, \u043c\u043e\u0436\u0435\u0442, \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u0440\u043e\u0434\u0435 WOTCIARSIYGRL (Write Once Then Compile It And Run Somewhere If You Get Reaaaally Lucky)? \u0412 \u043f\u043e\u043f\u044b\u0442\u043a\u0430\u0445 \u043d\u0430\u0439\u0442\u0438 \u043e\u0442\u0432\u0435\u0442 \u0447\u0438\u0442\u0430\u0435\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0434\u0430\u043b\u044c\u0448\u0435:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ma\/re\/k3\/marek3lmgwt7l80pt5fo1jsmknk.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/ma\/re\/k3\/marek3lmgwt7l80pt5fo1jsmknk.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/ma\/re\/k3\/marek3lmgwt7l80pt5fo1jsmknk.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0417\u0434\u0435\u0441\u044c NVIDIA \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u043d\u0430\u043c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0434\u0432\u0430 <s>\u0441\u0442\u0443\u043b\u0430<\/s> \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u043d\u0430 \u043b\u0435\u0442\u0443 (JIT) \u0438 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u00abfatbinaries\u00bb. \u0418 \u0442\u043e\u0442, \u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e \u0441 \u0431\u0443\u0434\u0443\u0449\u0438\u043c\u0438 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f\u043c\u0438 GPU.<\/p>\n<blockquote><p>\u042f, \u0447\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0442\u0435\u0440\u044f\u044e\u0441\u044c \u0441 \u0442\u0435\u043c, \u043a\u0430\u043a \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0441\u043b\u043e\u0432\u043e \u00abfatbinary\u00bb. \u00ab\u0416\u0438\u0440\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u044c\u00bb? \u00ab\u0422\u043e\u043b\u0441\u0442\u044f\u043a \u0411\u0438\u043d\u00bb? \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u044d\u0442\u043e \u043d\u0435 \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u0438\u0434\u0443\u043c\u043a\u0430 \u043e\u0442 NVIDIA, \u0430 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0435\u0431\u0435 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fat_binary\">\u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0442\u0435\u0440\u043c\u0438\u043d<\/a>. \u0420\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0430 \u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0422\u043e\u043b\u0441\u0442\u044f\u043a\u0435 \u0411\u0438\u043d\u0435 (\u0436\u0438\u0440\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u044c \u0437\u0432\u0443\u0447\u0438\u0442 \u043a\u0430\u043a-\u0442\u043e \u043e\u0431\u0438\u0434\u043d\u043e). \u041f\u043e \u0441\u0443\u0442\u0438, \u044d\u0442\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 (\u0438\u043b\u0438 \u043b\u0438\u0431\u0430), \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0441\u043e\u0431\u0440\u0430\u043d\u0430 \u043f\u043e\u0434 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0431\u043e\u0440\u043e\u0432 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u0434 \u0434\u043b\u044f \u043d\u0438\u0445. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0440\u0443\u0433\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 fatbinary \u2014 multiarchitecture binary.<\/p><\/blockquote>\n<p> \u0418 \u0432\u043e\u0442 \u0434\u0430\u043b\u044c\u0448\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e: \u0432\u044b\u0431\u043e\u0440 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b, \u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u044c, \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0437\u0430 \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u043e\u043c.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/ol\/e4\/ji\/ole4ji-hupdvk21r-6zaiv1c0gc.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/ol\/e4\/ji\/ole4ji-hupdvk21r-6zaiv1c0gc.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/ol\/e4\/ji\/ole4ji-hupdvk21r-6zaiv1c0gc.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u0414\u0430\u043b\u0435\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043e\u0442\u0441\u044b\u043b\u0430\u0435\u0442 \u043a \u0435\u0449\u0435 \u043e\u0434\u043d\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u043c\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043d\u0435 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435 \u043f\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-c-programming-guide\/index.html%23compilation-workflow\">3.1.1. Compilation Workflow<\/a>, \u043d\u043e \u043c\u044b \u0441\u0438\u043b\u044c\u043d\u043e \u043d\u0430 \u043d\u0435\u043c \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0438 \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p> \u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a JIT-\u043f\u043e\u0434\u0445\u043e\u0434\u0430, \u043a\u0430\u043a \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u043b\u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043e\u043d \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0422\u0430\u043a \u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c: \u0430 \u043c\u043e\u0436\u043d\u043e \u043b\u0438 \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c \u0431\u0435\u0437 \u043d\u0435\u0433\u043e? \u0418 \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u043d\u0430 \u044d\u0442\u043e \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0435\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442: \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 JIT, \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432 \u043a\u043e\u0434\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, sm_50 \u0438 sm_52):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/dq\/3f\/fe\/dq3ffecshh6laxosxc4fn0idvzk.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/dq\/3f\/fe\/dq3ffecshh6laxosxc4fn0idvzk.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/dq\/3f\/fe\/dq3ffecshh6laxosxc4fn0idvzk.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> <a name=\"6\"><\/a><font color=\"#EB4247\"><\/p>\n<h2>\u041f\u043e\u0434\u0432\u0435\u0434\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0438\u0442\u043e\u0433<\/h2>\n<p><\/font><br \/> \u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0443\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043d\u044f\u0442\u044c \u0438\u0437 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u044b \u0432\u044b\u0442\u0430\u0449\u0438\u043b\u0438 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u044b\u0448\u0435.<\/p>\n<ul>\n<li>\u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u0439\u0442\u0438 \u0434\u0432\u0443\u043c\u044f \u043f\u0443\u0442\u044f\u043c\u0438, \u0432\u044b\u0431\u0440\u0430\u0432 JIT \u0438\u043b\u0438 fatbinary. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0433\u0438\u0431\u0440\u0438\u0434\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 fatbinary + JIT, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043f\u0438\u0441\u0430\u043d <a href=\"https:\/\/docs.nvidia.com\/cuda\/cuda-compiler-driver-nvcc\/index.html%23shorthand-1\">\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/li>\n<li>\u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0439 \u043a\u043e\u0434\u0430, \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u043e\u0434 \u0440\u0430\u0437\u043d\u044b\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b GPU. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432 PTX-\u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u2014 \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u043c.<\/li>\n<li>\u0412\u0441\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 \u043c\u0443\u043b\u044c\u0442\u0438-\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0439 \u0431\u0438\u043d\u0430\u0440\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 GPU.<\/li>\n<li>\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 sm_XY \u0438 compute_XY \u043d\u0443\u0436\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u0433\u0438\u0431\u043a\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/li>\n<li>X \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0435 \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u0435 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b, \u0430 Y \u2014 \u0437\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043a\u043e\u043b\u0435\u043d\u0438\u044f.<\/li>\n<li>\u00abSM\u00bb \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u00abStream(ing) Multiprocessor\u00bb \u2014 \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b, <a href=\"https:\/\/fabiensanglard.net\/cuda\/%23back_2:~:text=for%2520a%2520change.-,TESLA,-Nvidia%2520solved%2520the\">\u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0439<\/a> NVIDIA \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 <a href=\"https:\/\/www.cs.cmu.edu\/afs\/cs\/academic\/class\/15869-f11\/www\/readings\/lindholm08_tesla.pdf\">Tesla<\/a>.<\/li>\n<\/ul>\n<p> \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u043f\u043e\u043b\u044f\u0445 \u0432\u044b\u0434\u0435\u043b\u0438\u043c, \u0447\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 Tesla \u0432\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u0432 \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u044e \u0441 \u0435\u0433\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/Nvidia_Tesla\">\u0434\u0440\u0443\u0433\u0438\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c<\/a>, \u0442\u043e\u0436\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u043c NVIDIA. \u041d\u0443 \u0434\u0430 \u043b\u0430\u0434\u043d\u043e \u2014 \u044d\u0442\u043e \u0442\u0430\u043a, \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435 \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443.<\/p>\n<p> \u0410 \u043d\u0430 \u044d\u0442\u043e\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043f\u0430\u0443\u0437\u0443. \u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0439\u0434\u0435\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0435, \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 AMD, \u0438 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0435\u043c\u0441\u044f \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0438\u0445 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438. \u0414\u0430, \u043f\u0443\u0442\u044c \u043a \u043e\u0446\u0435\u043d\u043a\u0435 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432 AMD \u0432 ML \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u043b\u0433\u0438\u043c, \u043d\u043e \u0432\u0435\u0434\u044c \u0432\u0430\u0441 \u044d\u0442\u043e \u043d\u0435 \u043f\u0443\u0433\u0430\u0435\u0442?<\/p><\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/909612\/\"> https:\/\/habr.com\/ru\/articles\/909612\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/webt\/pp\/il\/nn\/ppilnnonuwq4eun4yadw_qj2yri.png\" sizes=\"(max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/webt\/pp\/il\/nn\/ppilnnonuwq4eun4yadw_qj2yri.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/webt\/pp\/il\/nn\/ppilnnonuwq4eun4yadw_qj2yri.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/div>\n<p> \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u042f \u0415\u0444\u0438\u043c \u0413\u043e\u043b\u043e\u0432\u0438\u043d, \u0441\u0442\u0430\u0440\u0448\u0438\u0439 MLOps-\u0438\u043d\u0436\u0435\u043d\u0435\u0440 <a href=\"https:\/\/selectel.ru\/solutions\/artificial-intelligence-machine-learning\/?utm_source=habr.com&amp;utm_medium=referral&amp;utm_campaign=myselectel_article_amd4ml_150525_content\">\u0432 Selectel<\/a>. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u043c\u044b \u0432 \u043e\u0442\u0434\u0435\u043b\u0435 Data\/ML \u043d\u0430\u0447\u0430\u043b\u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c: \u0430 \u043a\u0430\u043a \u0442\u0430\u043c \u043f\u043e\u0436\u0438\u0432\u0430\u0435\u0442 AMD? \u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u043c\u0430\u0441\u0441\u0430 \u0434\u0435\u043b, \u043d\u043e \u043d\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e, \u0441\u043a\u043e\u0440\u0435\u0435, \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u0432 \u043f\u043b\u0430\u043d\u0435 AI\/DL\/ML. \u0421 NVIDIA \u0432\u0441\u0435 \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 \u044f\u0441\u043d\u043e, \u044d\u0442\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442. \u0410 \u0432\u043e\u0442 AMD \u2014 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e\u0435. \u042f \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b, \u0447\u0442\u043e \u0443 \u00ab\u043a\u0440\u0430\u0441\u043d\u044b\u0445\u00bb \u0445\u043e\u0442\u044f \u0431\u044b \u0432 \u043f\u043b\u0430\u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438 \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0441\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u0443 NVIDIA. \u041d\u043e \u0440\u0435\u0448\u0438\u043b \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u044d\u0442\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043e\u0431\u0435\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u0438 \u043f\u043e\u043f\u0430\u043b \u0432 \u0434\u0438\u0432\u043d\u044b\u0439 \u043c\u0438\u0440 \u0445\u0430\u043e\u0441\u0430, \u0431\u0430\u0440\u0434\u0430\u043a\u0430 \u0438 \u0440\u0430\u0437\u0431\u0440\u043e\u0441\u0430 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u0445. \u041d\u0435 \u043c\u043e\u0433\u0443 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0441\u0435\u0431\u0435, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432\u043c\u0435\u0441\u0442\u0435. \u041d\u0430\u0447\u043d\u0435\u043c, \u043a\u0430\u043a \u043d\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u0441 \u043f\u043e\u0438\u0441\u043a\u0430 \u0438\u0441\u0442\u0438\u043d\u044b \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 NVIDIA.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-459766","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/459766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=459766"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/459766\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=459766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=459766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=459766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}