MATLAB Answers

GPU/CPU Profiling

Gregory Vernon 님이 질문을 제출함. 13 Sep 2011
I was wondering if there is any way to determine what part of my code is being run on the GPU and which are being run on the CPU at run time. I've coded my program using gpu arrays and gpu array functions, to the point where I feel I've maxed out those lines efficiency. However, my code runs one cpu core at max capacity. I want to know what lines of code (or which nested functions) are being run so that I can try to A) Optimize and B) Try to distribute the code over my cores in parallel. I see that NVIDIA has their their own gpu profiler http://www.nvidia.com/object/parallel-nsight.html and I was wondering if Mathworks has (or is working on) anything similar. Any ideas?

  댓글 수: 0

로그인 to comment.

답변 수: 0


Translated by