Skip to content

Conversation

@jan-petr
Copy link
Contributor

@jan-petr jan-petr commented Dec 2, 2021

Linked issue

#902

@jan-petr jan-petr changed the base branch from main to develop December 2, 2021 16:40
@jan-petr jan-petr linked an issue Dec 2, 2021 that may be closed by this pull request
@jan-petr
Copy link
Contributor Author

jan-petr commented Dec 2, 2021

Shall we remove code on line 182 as well?

@MichaelStritt MichaelStritt added the optimization Ensure that code runs faster with unchanged functionality label Dec 2, 2021
Copy link
Contributor

@MichaelStritt MichaelStritt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@MichaelStritt
Copy link
Contributor

Shall we remove code on line 182 as well?

Hm... not sure. Let's not change too much to keep everything stable before the release.

Copy link
Member

@HenkMutsaerts HenkMutsaerts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, what about the other two occurrences? Do we leave them in?

cat_surf_epivolsurf
zspm_dcm_fit

Nobody uses these, so safe to replace the parfor with for here to be sure Matlab never checks for this toolbox.

Then we can close the other issue as "duplicate".

@jan-petr
Copy link
Contributor Author

jan-petr commented Dec 2, 2021

zspm_dcm_fit

Nice, what about the other two occurrences? Do we leave them in?

cat_surf_epivolsurf zspm_dcm_fit

Nobody uses these, so safe to replace the parfor with for here to be sure Matlab never checks for this toolbox.

There it is already commented out. No need to remove.

Then we can close the other issue as "duplicate".

Which other issue? #888 this is already closed...

@jan-petr jan-petr merged commit bfa6b83 into develop Dec 2, 2021
@MichaelStritt MichaelStritt deleted the optimize-#902_RemoveParfor branch December 3, 2021 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimization Ensure that code runs faster with unchanged functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not use parfor in xASL_Iteration or elsewhere

4 participants