Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
fix scheduler parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-Leo-Smith committed May 16, 2024
1 parent 1f8a998 commit 8f5b180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrators/coro_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CoroutinePathTracing final : public ProgressiveIntegrator {
_scheduler{[&] {
auto s = desc->property_string_or_default(
"scheduler", luisa::lazy_construct([&] {
return desc->property_string_or_default("scheduler_type", "wavefront");
return desc->property_string("dispatcher");// for compatibility
}));
for (auto &c : s) { c = static_cast<char>(std::tolower(c)); }
if (s == "wavefront") { return Scheduler::Wavefront; }
Expand Down

0 comments on commit 8f5b180

Please sign in to comment.