CNN Performance: CPU Consistency vs. GPU Variance - Why?
Show older comments
Hello everyone,
I have executed CNN code multiple times using rng(0) with CPU and consistently obtained the same result. However, when I attempted to accelerate the training process using the GPU, the results differed. Has anyone else faced this issue?
Thank you in advance!
Accepted Answer
More Answers (1)
Edric Ellis
on 23 Nov 2023
0 votes
I'm not certain if it will make everything consistent, but note that random state on the GPU is controlled by the gpurng function.
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!