Commit Graph

9 Commits

Author SHA1 Message Date
Devin Doucette
e074999d9a DDC: Renamed Dispatch[Op] to Schedule[Op] and tweaked formatting for consistency
#rb none
#rnx
#preflight 613a336abf5a710001674089

[CL 17474273 by Devin Doucette in ue5-main branch]
2021-09-09 13:36:28 -04:00
Johan Torp
7286b53430 Add DDC2 memory scheduler to limit peak memory consumption
Also:
* Implemented rough memory usage estimate for texture cooking
* Fixed build action -> constant copying bug

#rb devin.doucette

[CL 17470303 by Johan Torp in ue5-main branch]
2021-09-09 06:04:00 -04:00
Devin Doucette
5bdd0e67b3 DDC: Add FBuildConfigContext::SetRequiredMemory() and forward the estimate to the build scheduler
#rb Zousar.Shaker
#rnx

[CL 17088443 by Devin Doucette in ue5-main branch]
2021-08-06 17:32:53 -04:00
Devin Doucette
3513768988 DDC: Replaced FRequest with FRequestGroup to handle nested and chained requests more robustly
Any function that may create a request now has a IRequestOwner& parameter, and uses the Begin and End functions on the owner to manage the lifetime of any requests that it creates, as well as using End to invoke the completion callback for any request which has one.

The new FRequestBarrier may be used to block a group from being considered complete in a scope where more requests may be added to it.

#rb Matt.Peters
#rnx
#preflight 6109b5c403d303000144cce5
#preflight 610acf7103d30300016fda94

[CL 17060470 by Devin Doucette in ue5-main branch]
2021-08-04 17:52:40 -04:00
Devin Doucette
f64bc61bb7 DDC: Fixed race conditions in the build job
#rb Zousar.Shaker
#rnx

[CL 16870676 by Devin Doucette in ue5-main branch]
2021-07-16 01:11:20 -04:00
Devin Doucette
d131a233a1 DDC: Extended IBuildJob and IBuildScheduler to give the scheduler more control and more data
#rb Zousar.Shaker
#rnx

[CL 16678847 by Devin Doucette in ue5-main branch]
2021-06-15 16:33:05 -04:00
Devin Doucette
f934d5abfd DDC: Renamed the input resolver states in the build job for clarity
[CL 16509104 by Devin Doucette in ue5-main branch]
2021-05-31 10:18:16 -04:00
Devin Doucette
914d527945 DDC: Added remote execution to the build job
#rb Zousar.Shaker
#rnx

[CL 16492345 by Devin Doucette in ue5-main branch]
2021-05-27 17:28:24 -04:00
Devin Doucette
3d796c5429 DDC: Added UE::DerivedData::IBuildScheduler and UE:::DerivedData::IBuildJob
IBuildScheduler schedules IBuildJob, which are created by the upcoming FBuildSession.

#rb Zousar.Shaker
#rnx

[CL 16452468 by Devin Doucette in ue5-main branch]
2021-05-25 13:27:48 -04:00