English 中文(简体)
Matlab GPU acceleration for loading large point cloud dataset
原标题:

I m trying to load a large dataset of a million points in 3d space in MATLAB, but whenever I try to plot it (scatter or plot3) , it takes forever. This is on a laptop with Intel Graphics Media Accelerator 950, up to 224-MB shared system memory. This also sometimes leads to Matlab 2008a crashing. Is there a way to let MATLAB use a Nvidia GPU for plotting this dataset. I have another laptop with Nvidia Go 6150. I m on Windows Xp and Windows 7.

问题回答

OpenGL

You can set the renderer used for figures in MATLAB.

http://www.mathworks.com/support/tech-notes/1200/1201.html

To take advantage of GPU, You can set it to OpenGL

set(0, DefaultFigureRenderer , opengl )

Which

enables MATLAB to access graphics hardware if it is available on your machine. It provides object transparency, lighting, and accelerated performance.

Other ways

Also, the following link shows some ideas about optimizing graphics performance:

http://www.mathworks.com/access/helpdesk/help/techdoc/creating_plots/f7-60415.html

However,

These techniques apply to cases when you are creating many graphs of similar data and can improve rendering speed by preventing MATLAB from performing unnecessary operation.

If you re wanting to use CUDA the minimum card spec required is a G80, your 6150 sadly is too old.

List of compatible cards.

There is Jacket, the commercial product to give GPU power to Matlab:

http://www.accelereyes.com/products/jacket

You can download the trial version (30 days, as I remember).





相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签