Skip to content

Comments

Windows multi processor build#555

Merged
neworderofjamie merged 2 commits intomasterfrom
windows_multi_processor_build
Nov 7, 2022
Merged

Windows multi processor build#555
neworderofjamie merged 2 commits intomasterfrom
windows_multi_processor_build

Conversation

@neworderofjamie
Copy link
Contributor

@neworderofjamie neworderofjamie commented Nov 7, 2022

No idea what made me realise this but, while we had been passing /m to msbuild which allows projects to be build in parallel if they have no dependencies, it doesn't actually enable parallel compilation of C++ files. This PR turns the actual option we want on for all projects and, on my laptop, reduces the time taken to fully rebuild GeNN and backends from 48 to 16s.

Sadly, it seems NVCC doesn't support this option so this is only really going to help life for developers using Windows (i.e. me) rather than help speed up compilation of generated code on Windows.

@neworderofjamie neworderofjamie added this to the GeNN 4.9.0 milestone Nov 7, 2022
Copy link
Member

@tnowotny tnowotny left a comment

Choose a reason for hiding this comment

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

Okaydoke ... love the spaghetti of options.

@neworderofjamie neworderofjamie merged commit 0312dc5 into master Nov 7, 2022
@neworderofjamie neworderofjamie deleted the windows_multi_processor_build branch November 7, 2022 13:42
@neworderofjamie neworderofjamie modified the milestones: GeNN 4.9.0, GeNN 4.8.1 Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants