I have a MATLAB code and want to use GPU to improve the running time, so I changed the arrays to gpuArray, but my code got worse
my laptop fan started working extremely and the temperature got high.
also I monitored gpu usage in Task manager/Performance and it was always zero
I attach my code if anyone can help me with its problem
thanks in advance.