So one of the GPU computing platforms I'm most excited about is Matlab.
Many of you probably already know about Matlab, especially if you're a scientist or an engineer.
Matlab is a high level programming language and development environment
that's designed for scientific, numeric and mathematical computations.
Scientists and engineers use Matlab all the time for algorithm development,
data analysis, visualization, and mathematical modeling.
Matlab supports GPU computing in a couple of ways by allowing Matlab code to be
executed on a GPU, as well as by providing a way to interface with custom CUDA code.
We're going to explore these features using an application that fits the theme of this class,
an imaging processing application called white balancing.
The white balance operation is used to adjust the tints of a photograph.
So you can see here, if this is the before image
after a white balance operation, it might look like this.
And you can see that we've removed the sort of reddish tint from the image.
So this is a simple example of the kind of operation that you might implement in Matlab.
It's easy to implement, as you'll see, and as you'll see, it's also easy to use the GPU as well.
所以最让我感到兴奋的 GPU 计算平台之一是 Matlab。
你们中许多人可能已经知道 Matlab,尤其是,
如果你是一位科学家或工程师。
Matlab 是一个高级编程语言和开发环境,
它被设计用于科学、 数字和数学计算。
科学家和工程师一直使用 Matlab 进行算法开发、
数据分析、 可视化和数学建模。
Matlab 以几种方式支持 GPU 计算,一种是允许 Matlab 代码
在GPU上被执行,另一种是对CUDA的自定义代码
提供对接方式。
我们将了解这些功能,为此我们使用适合
这节课主题的应用程序,
一个叫做白平衡的成像处理应用程序。
白平衡操作用来调整照片的色调。
所以在这里你可以看到,如果这是之前的图像,
白平衡操作之后,它可能看起来像这样。
你可以看到我们已经从图像中删除了有点带红色的色调。
所以这是一个简单的例子,这样的操作你可能
会在 Matlab 中执行。
像你看到的,它很容易实现,同样正如你所看到的,
使用GPU也很容易。