fixing dangling pointer
Build / build (push) Successful in 48s
Test / build_and_test (push) Successful in 25m13s

This commit is contained in:
2026-04-23 14:12:44 +02:00
parent ed8a60b539
commit 2a427c0b51
3 changed files with 6 additions and 9 deletions
+1 -3
View File
@@ -63,9 +63,7 @@ pub fn dispatch(self: *Self, group_count_x: u32, group_count_y: u32, group_count
var wg: std.Io.Group = .init;
for (0..@min(self.batch_size, group_count)) |batch_id| {
if (base.config.single_threaded_compute) {
@branchHint(.cold); // Should only be reached for debugging
if (comptime base.config.single_threaded_compute) {
runWrapper(
RunData{
.self = self,