Closed carterbox closed 3 months ago
Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
src/tike/ptycho/solvers/lstsq.py
:Line 291:81: E501 line too long (90 > 80 characters) Line 321:81: E501 line too long (90 > 80 characters)
src/tike/ptycho/solvers/rpie.py
:Line 105:81: E501 line too long (85 > 80 characters) Line 185:81: E501 line too long (82 > 80 characters)
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