Quad-core Processor
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm running code involving several large (>300k) matrix operations (mostly multiplying) and 2-D integration. The code is running relatively fast. But now I need to understand why. Is Matlab 2010b taking advantage of my quad-core processor without me explicity architecting the code for a multicore processor? How do I see how many cores Matlab is using?
댓글 수: 0
답변 (2개)
Jan
2011년 5월 11일
Modern Matlab version use multiple cores for some commands, e.g. SUM, FILTER, MIN, MAX, and some linear algebra methods. The easiest way to obeserve the core load is the taskmanager in Windows and equivalent tools in Linux.
댓글 수: 0
Sean de Wolski
2011년 5월 10일
An FYI: Contrary to what you're thinking a 300K matrix really isn't that big for modern day machines. It takes about two seconds on my laptop to create and multiply the following:
x = 1:10000;
y = rand(10000);
A = x*y;
bytes: 800160000
댓글 수: 1
Matt Fig
2011년 5월 10일
And 9 seconds on my 4 year old laptop. I just ordered a new one that should blow that away!
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!