AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

REF: Change how costs are reduced #327

Closed carterbox closed 3 months ago

carterbox commented 3 months ago

Purpose

Try to avoid host synchronization during cost function computation.

Approach

Store objective function values in an GPU array until the end of the epoch.

Pre-Merge Checklists

Submitter

Reviewer

pep8speaks commented 3 months ago

Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 291:81: E501 line too long (90 > 80 characters) Line 321:81: E501 line too long (90 > 80 characters)

Line 105:81: E501 line too long (85 > 80 characters) Line 185:81: E501 line too long (82 > 80 characters)

Comment last updated at 2024-07-29 15:19:00 UTC