Hi i have a problem with using GPU in matlab. I bought GTX 1050 ti last week and connected to my computer. After then, i ran a code that represent a calculating time of both my cpu and gpu. (using tic & toc function) https://kr.mathworks.com/matlabcentral/fileexchange/46710-tutorials--parallel-and-gpu-computing-with-matlab--9-of-9---gpu-computing-with-matlab.
However, there was no difference between them. It showed similar speed. In this situation, what shall i do? (I want to make GPU speed faster than CPU's)
And also can anyone tell me the best way to use deep learning algorithm with my cpu (Intel Core i7-6700)?
p.s) My computer has Inter Core i7-6700 as a CPU, GTX 1050ti as a GPU,and 32GB RAM (if you guys want to know another information about my computer, please let me know i'll reply as soon as possible)

 채택된 답변

Joss Knight
Joss Knight 2017년 5월 24일

0 개 추천

The GTX 1050 doesn't have very good double precision performance, and the default precision for all MATLAB computation is double. Try running your code in single precision. Check out GPUBench as a handy way to test the performance of your GPU.

댓글 수: 1

Lim Junha
Lim Junha 2017년 5월 26일
Thanks, i should change GPU to solove this porblem. :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 GPU 연산에 대해 자세히 알아보기

질문:

2017년 5월 24일

편집:

2017년 5월 26일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!