introduction to gpu computing with matlab video -凯发k8网页登录
speed up your matlab® applications using nvidia® gpus without needing any cuda® programming experience.
parallel computing toolbox™ supports more than 700 functions that let you use gpu computing. any gpu-supported function automatically runs using your gpu if you provide inputs as gpu arrays, making it easy to convert and evaluate gpu compute performance for your application.
in this video, watch a brief overview, including code examples and benchmarks. in addition, discover options for getting access to a gpu if you do not have one in your desktop computing environment. also, learn about deploying gpu-enabled applications directly as cuda code generated by gpu coder™.
gpu computing, is a widely adopted technology, that uses the power of gpus to accelerate computationally intensive workflows. since 2010, parallel computing toolbox has provided gpu computing support for matlab. although gps were originally developed for graphics rendering, they are now used generally to accelerate applications in fields such as scientific computing, engineering, artificial intelligence, and financial analysis.
using parallel computing toolbox, you can leverage nvidia gpus, to accelerate your application directly from matlab. matlab provides a direct interface for accelerating computationally intensive workflows, on gpus for over 500 functions. using these supported functions, you can execute your code on a gpu without needing any of programming experience.
for computationally intensive problems, it's possible to achieve significant speed up, making only a few changes to your existing code. with gpu support in parallel computing toolbox, it's easy to determine if you can use a gpu to speed up your application. if your code includes gpu supported functions, converting your inputs to gpu arrays will automatically execute those functions on your gpu.
matlab automatically handles gpu resource allocation. so you can focus on your application, without having to learn any low level gpu computing tools. matlab takes advantage of the hundreds of specialized cores in a gpu. to accelerate performance of applications that can be largely paralyzed. you can achieve the most effective results, with the gpu when executing workflows that process sizable data, and contain heavily vectorized operations.
you can use gpubench, from mathworks file exchange. to compare performance of supported gpus, using standard numerical benchmarks in matlab. many matlab functions, such as the trained network function, use any compatible gpus by default. to train your model on multiple gpus, you can simply change a training option directly in matlab.
if you don't have access to a gpu on your laptop or workstation, you can leverage of matlab reference architecture to use one or more gpus, within a matlab desktop in the cloud. you can also leverage the matlab deep learning container from nvidia gpu cloud which supports nvidia ddx, and other platforms that support docker.
if you have many gpu applications to run, or need to scale beyond a single machine with gpus, you can use matlab parallel server to extend your workflow to a cluster with gpus. if you don't already have access to a gpu cluster, you can leverage mathworks cloud center or matlab parallel server reference architecture.
parallel computing toolbox provides additional features for working directly with cuda code. the mexcuda function, compiles cuda code into a mex file, that can be called directly in matlab as a function. conversely, after writing your matlab code, you can generate and deploy ready to use cuda code, with cpu coder.
the generated code is optimized, to call standard cuda libraries and can be integrated and deployed directly onto nvidia gpus. to learn more about how to take full advantage of your gpu in matlab, explore the gpu computing solutions page. you can also explore the mathworks documentation. for a complete list of functions, which give you support and more examples.
featured product
parallel computing toolbox
up next:
related videos:
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)