Speed Testing CoDiPack #39
Replies: 3 comments
-
Thanks for the info. Yes these results look quite good. I had a look at the value on https://cmpad.readthedocs.io/xam_main.py.html#xam-main-py-xam-main-csv. Here, the problem sizes seem to be smaller and CoDiPack is most of the time slower. (I have to plot a graph for this.) I will have a look in the next weeks. Maybe I can tweak some things. ;-) |
Beta Was this translation helpful? Give feedback.
-
The following instructions: |
Beta Was this translation helpful? Give feedback.
-
There was a problem with how cmpad was detecting that CoDiPack was available (it was looking for codi.h instead of codi.hpp). This created a problem following the get_started instructions above. It has been fixed. |
Beta Was this translation helpful? Give feedback.
-
I am working on a tool for comparing AD packages and recently added CoDiPack gradient calculations; see
https://cmpad.readthedocs.io/codi_gradient.hpp.html
The following comparison is for toy sized problems:
https://cmpad.readthedocs.io/xam_main.py.html#xam-main-py-xam-main-csv
The following output indicates that for larger problems CoDiPack is relatively fast (when the time to create the AD tape is included for each function evaluation):
Beta Was this translation helpful? Give feedback.
All reactions