- NVIDIA GPUs do not adhere strictly to IEEE 754 standards, especially with respect to signalling NaN and gradual underflow and rounding modes and details of permitted error in the last few bits
- The order of operations is not guaranteed to be the same between CPU and GPU. GPU kernel generation optimizes operations for efficiency, not for strict adherence to MATLAB or C or C++ order of operation rules
- The high performance math libraries used on CPU are not the same as the libraries used on GPU
gpu computing vs complex operation
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Kevin Lin
il 2 Dic 2019
Commentato: Edric Ellis
il 4 Dic 2019
Hi , I have a question, is there any difference between gpu and cpu while they are handling operation that involve with complex ?
0 Commenti
Risposta accettata
Walter Roberson
il 2 Dic 2019
Modificato: Walter Roberson
il 2 Dic 2019
Yes, there is.
In short, you should expect that the results calculated on GPU for any floating point operations may differ from the results on CPUs.
5 Commenti
Walter Roberson
il 3 Dic 2019
Yes.
Also, the exact result you get out can depend upon the release of nvcc that you have installed.
Edric Ellis
il 4 Dic 2019
@Walter JFTR, the version of nvcc installed by a user can influence only results computed by CUDAKernel or GPU MEX files compiled with their nvcc. The precise version of the CUDA driver can affect results of previously compiled code (e.g. MATLAB, PCT, and the CUDA libraries it ships).
Più risposte (0)
Vedere anche
Categorie
Scopri di più su GPU Computing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!