accelerate the computation speed

Asked by ytang

Hi all,
is there anyone who knows that we can use CuPy instead of Numpy to speed the simulation? By using CuPy we can use GUP to accelerate the simulation.

https://docs-cupy.chainer.org/en/stable/overview.html

best,
yong

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
ytang
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

thanks for the link. I think it might be handy in certain situations.
However, the Python part (and the numpy-related code) of Yade simulations is (or at least should for sane scripts) not the time critical part.

But if you want, feel free to add CuPy to Yade wiki or documentation (tutorial?, user manual?)

cheers
Jan

Revision history for this message
ytang (ytang116) said :
#2

Hi Jan,

thanks.