Fix tuo mako file to support cpu build and batch scripts.#1362
Fix tuo mako file to support cpu build and batch scripts.#1362sbryngelson merged 1 commit intoMFlowCode:masterfrom
Conversation
Switched "gpu" to "gpu_enabled" so that the batch script is properly made when running on CPU and GPU. With just "gpu", it defaults to always being gpu.
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
1 similar comment
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewⓘ The new review experience is currently in Beta. Learn more |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe template file 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Switched "gpu" to "gpu_enabled" so that the batch script is properly made when running on CPU and GPU. With just "gpu", it defaults to always being gpu.
Description
When running/building MFC for CPU on Tuolumne, the mako file defaults to GPU everytime. I switched the check to "gpu_enabled" based on the format used in other mako files. This produces the correct behavior.
Type of change
Testing
I compiled and ran both CPU and GPU jobs with this change.