Skip to content

Different calculation results when running on CUP or MPS. (MAC M3 PRO OS14.5) #1030

Discussion options

You must be logged in to vote

Hi LuluW8071,

Thanks for your help. Great.
Found a solution. When I run the X not from 0 to 50 instead from 0 to 5 step 0.1. That works great.
Probably due the float32 which the MPS is using while CPU uses float64 as standard.

Finding is that a for loop with MPS takes longer as with COU, but with the same number of loops the result with MPS is much better as with CPU.
Any clue why?

Best Regards
Sven

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by OneManShow0815
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants