کودا – CUDA
کودا به انگلیسی (CUDA) که مخفف عبارت انگلیسی Compute Unified Device Architecture است یک سکوی پردازش موازی و مدل برنامهنویسی است که توسط شرکت انویدیا بهوجود آمده است و در واحدهای پردازش گرافیکی این شرکت پشتیبانی میشود.کودا به توسعه دهنده گان نرمافزار اجازه میدهد تا از یک GPU که ویژگی CUDA-enabled دارد برای هدف پردازش استفاده کنند، رویکردی که GPGUG شناخته میشود. کودا به توسعهدهنده گان امکان دسترسی مستقیم به حافظه و مجموعه دستورالعمل در واحد پردازش گرافیکی را میدهد.
سکوی کودا برای کار با زبانهای برنامهنویسی مانند C و ++C و فرترن طراحی شدهاست.این دسترسی باعث میشود تا برای متخصصان استفاده از منابع GPU آسانتر شود برخلاف راه کار های API دیگر چون DIRECT3D و OpenGL که نیاز به توانایی حرفه ای در برنامه نویسی گرافیک داشتند.همچین کودا از چارچوبهایی چون OpenACC و OpenCL پشتیبانی می کند.
پیش زمینه
GPU به عنوان یک پردازنده خاص ،درخواستهای های بلادرنگ با کیفیت بالا گرافیک سه بعدی که از نظر وظایف محاسباتی فشرده هستند را مختصاتدهی میکند.از سال 2012 میلادی GPU ها به سیستمهای چند هسته ای قدرتمندی ارتقا یافتند که قادر به دستکاری بلوکهای بزرگی از داده ها هستند.این طراحی بسیار از هدف عامه CPU ها برای الگوریتمها در مواقعی که پردازش موازی روی بلوک های داده انجام میشود موثرتر است.به عنوان مثال:
- الگوریتم ارسال برچسب
- الگوریتم مرتب سازی سریع روی لیستهای بزرگ
- تبدیل موجک سریع دوبعدی
- شبیهسازی دینامیک مولکولی
قابلیتهای برنامهنویسی
کودا توسط کتابخانههای مجهز شده کودا ،دستوردهنده کامپایلر مانند OpenACC و همین طور توسعههایی استاندارد صنعتی از زبانهایی شامل C، ++C و فرترن برای توسعهدهندگان قابل دسترسی است.برنامهنویسان C++/C از ‘++CUDA C/C’ استفاده می کنند که کامپایل شده با “nvcc” است.nvcc یک کامپایلر C++/C بر پایه LLVM شرکت انویدیا است.برنامه نویسان فرترن نیز می توانند از ‘CUDA Fortran’ استفاده کنند که کامپایل شده با PGI CUDA Fortran Complier شرکت The Portland Group است. علاوه بر کتابخانهها ،دستوردهندههای کامپایلر و ++CUDA C/C و CUDA Fortran ،سکو کودا از سایر رابطهای محاسباتی شامل موارد زیر پشتیبانی می کند.
- OpenCL گروه Khronos
- DirectCompute مایکروسافت
- محاسبات سایه زنی OpenGL
- C++ AMP
همچنین لفافه سوم شخص (Third party wrappers) برای زبان هایی مانند پرل (Perl)،پایتون (Python)،آر (R) ،فرترن (FORTRAN)،جاوا (Java)،روبی (Ruby)،هسکل (Haskell)،متلب (Haskell) ،آی دی ال (IDL)،لوآ (Lua) و نیز به طور پیشفرض متمتیکا (Mathematica) در دسترس هستند.
در صنعت بازیهای کامپیوتری ،GPUها تنها برای رندر کردن گرافیک نیست بلکه در محاسبات فیزیکی بازی (اثرات فیزیکی شبیه دود ،آتش ،ترشحات و آوار) نیز هستند.مثالهایی نظیر فیز-اکس و گلوله شامل این مورد هستند.کودا همچنین برای کاربردهای شتابدهی غیرگرافیکی در زیستشناسی محاسباتی ،رمزنگاری و حوزه های دیگر نیز استفاده میشود.
کودا هم یک API سطح پایین و هم یک API سطح بالا فراهم می کند.SDK اولیه کودا در 15 فوریه 2007 برای ویندوز مایکروسافت و لینوکس انتشار عمومی شد.پشتیبانی در سیستمعامل مک در نسخه دوم اضافه شد که جای نسخه تست 14 فوریه 2008 را میگیرد.کودا با تمامی GPUهای از سری G8x به بعد شامل جیفورس ،کوادرو و تسلا(گرافیک) کار میکند.کودا با بیشتر سیستمعاملهای استاندارد کار میکند.انویدیا میگوید برنامههایی که برای سری G8x توسعهیافتهاند همچنین بدون تغییر روی نسلهای آینده کارتهای گرافیک بسته به سازگاری دودویی کارخواهند کرد.
مزایا
کودا چندین برتری در برابر محاسبات عمومی سنتی روی GPU ها(در کل منظورGPGPU) دارد که از واسطهای گرافیکی استفاده میکنند.
- خواندن پراکنده یعنی کد میتواند از آدرسهای دلخواه در حافظه بخواند.
- حافظه مجازی یکپارچه (کودا نسخه 4.0 به بعد)
- حافظه یکپارچه(کودا نسخه 6.0 به بعد)
- حافظه مشترک کودا ناحیه ای که یک حافظه سریع مشترک است ،نشان میدهد که میتواند میان نخها به اشتراک گذاشتهشود.این حافظه میتواند به عنوان یک حافظه نهان مدیریت شده تحت دسترسی کاربر استفاده شود و پهنای باند بیشتری داریم یعنی امکان استفاده را از جستجو بافتی.
- دانلودهای سریع تر و مجدد خوانی
- پشتیبانی کامل برای اعداد صحیح و عملیات بیتی شامل جستجوی بافتی صحیح
-
Shangul Mangul HabeAngur Shangul Mangul HabeAngur (City of Goats) is a game for child (4-8 years). they learn how be useful in the city and respect to people. Persian n...
-
Resume Full name Sayed Ahmadreza Razian Age 38 (Sep 1982) Website ahmadrezarazian.ir Email ahmadrezarazian@gmail.com Education MS...
-
Drowning Detection by Image Processing In this research, I design an algorithm for image processing of a swimmer in a pool. This algorithm diagnostics the swimmer status. Every time graph s...
-
Tianchi-The Purchase and Redemption Forecasts 2015 Special Prize – Tianchi Golden Competition (2015) “The Purchase and Redemption Forecasts” in Big data (Alibaba Group) Among 4868 teams. Introd...
-
معرفی نام و نام خانوادگی سید احمدرضا رضیان پست الکترونیکی ahmadrezarazian@gmail.com درجات علمی کارشناسی : ریاضی کاربردی – دانشگاه اصفهان (معدل 14...
-
Nokte – نکته نرم افزار کاربردی نکته نسخه 1.0.8 (رایگان) نرم افزار نکته جهت یادداشت برداری سریع در میزکار ویندوز با قابلیت ذخیره سازی خودکار با پنل ساده و کم ح...
-
1st National Conference on Computer Games-Challenges and Opportunities 2016 According to the public relations and information center of the presidency vice presidency for science and technology affairs, the University of Isfah...
-
Tianchi-Brick and Mortar Store Recommendation with Budget Constraints Ranked 5th – Tianchi Competition (2016) “Brick and Mortar Store Recommendation with Budget Constraints” (IJCAI Socinf 2016-New York,USA)(Alibaba Group...
-
Optimizing raytracing algorithm using CUDA Abstract Now, there are many codes to generate images using raytracing algorithm, which can run on CPU or GPU in single or multi-thread methods. In t...
-
2nd Symposium on psychological disorders in children and adolescents 2016 2nd Symposium on psychological disorders in children and adolescents 2016 Faculty of Nursing and Midwifery – University of Isfahan – 2 Aug 2016 - Ass...
-
My City This game is a city simulation in 3d view. Gamer must progress the city and create building for people. This game is simular the Simcity.
-
ببین و بپر به زودی.... لینک صفحه : http://bebinbepar.ir
-
SVM Review On this review, i compare 4 papers about 4 famous models by SVM. These models are : Maximum Likelihood Classification (ML) Backpropagatio...
-
Watching Jumping Coming Soon... Visit at : http://bebinbepar.ir/
-
Environmental Education Software In this game , Kids learn that They must respect to Nature and the Environment. This game was created in 3d . 600x420 (0x0) 66.45 KB ...
- AMD Ryzen Downcore Control AMD Ryzen 7 processors comes with a nice feature: the downcore control. This feature allows to enable / disabl...
- Fallout 4 Patch 1.3 Adds NVIDIA HBAO+ and FleX-Powered Weapon Debris Fallout 4 launched last November to record player numbers, swiftly becoming the most popular third-party game...
- Detecting and Labeling Diseases in Chest X-Rays with Deep Learning Researchers from the National Institutes of Health in Bethesda, Maryland are using NVIDIA GPUs and deep learni...
- NVIDIA TITAN Xp vs TITAN X NVIDIA has more or less silently launched a new high end graphics card around 10 days ago. Here are some pictu...
- Automatic Colorization Automatic Colorization of Grayscale Images Researchers from the Toyota Technological Institute at Chicago and University of Chicago developed a fully aut...
- Back to Dinosaur Island Back to Dinosaur Island takes advantage of 15 years of CRYENGINE development to show users the sheer endless p...
- Unity – What’s new in Unity 5.3.3 The Unity 5.3.3 public release brings you a few improvements and a large number of fixes. Read the release not...
- ASUS GeForce GTX 1080 TURBO Review This GTX 1080 TURBO is the simplest GTX 1080 I tested. By simplest, I mean the graphics card comes with a simp...
- Assisting Farmers with Artificial Intelligence With our planet getting warmer and warmer, and carbon dioxide levels steadily creeping up, companies are using...
- کودا – CUDA کودا به انگلیسی (CUDA) که مخفف عبارت انگلیسی Compute Unified Device Architecture است یک سکوی پردازش موازی و مد...
- Virtual Reality in the Military Virtual reality has been adopted by the military – this includes all three services (army, navy and air force)...
- Diablo Meets Dark Souls in Isometric Action-RPG Eitr Among the indie games Sony showcased during its E3 press conference this week, Eitr was what most stood out to...
- Diagnosing Cancer with Deep Learning and GPUs Using GPU-accelerated deep learning, researchers at The Chinese University of Hong Kong pushed the boundaries...
- Head-mounted Displays (HMD) Head-mounted displays or HMDs are probably the most instantly recognizable objects associated with virtual rea...
- MSI VR One: a Pascal-based Gaming PC for VR in a BackpackMSI VR One is a gaming PC designed for virtual …
- Official NVIDIA Revolution the Graphic Experience [GeForce] 1999-2005Official NVIDIA Revolution the Graphic Experience [GeForce] 1999-2005
- Open-Access Visual Search Tool for Satellite ImageryA new project by Carnegie Mellon University researchers provides journalists, …
- Virtual 3D Teleportation in Real Time with NVIDIA GPUsImagine being able to virtually teleport from one space to …
- eSports Experiencing Unprecedented GrowthMarch does not just belong to basketball anymore. While much …
- How GPUs are Revolutionizing Machine LearningTraining the sophisticated deep neural networks that power applications such …
- The Great Data Center Migration: Why Virtualized 3D Graphics Are Moving to GPUsBehind the walls of data centers around the world, a …
- Get Ready for the HTC Vive with NVIDIA GPUsHTC today announced the consumer version of its Vive virtual …
- AI Legend Gill Pratt of Toyota to Keynote at GPU Technology ConferenceGill Pratt, CEO of the Toyota Research Institute and one …
- Artificial intelligence to amplify digital transformation: Vishal SikkaThe digital transformation can best be achieved by adopting automation …
Leave a Reply