problem with using GPU in matlab

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)

 Respuesta aceptada

Joss Knight
Joss Knight el 24 de Mayo de 2017

0 votos

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 comentario

Lim Junha
Lim Junha el 26 de Mayo de 2017
Thanks, i should change GPU to solove this porblem. :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 24 de Mayo de 2017

Editada:

el 26 de Mayo de 2017

Community Treasure Hunt

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

Start Hunting!