diff --git a/crates/engine-gpu/src/lib.rs b/crates/engine-gpu/src/lib.rs index 47cf608..ad01b5f 100644 --- a/crates/engine-gpu/src/lib.rs +++ b/crates/engine-gpu/src/lib.rs @@ -36,7 +36,7 @@ pub struct GpuEngine { // Thread-local storage for consistent GPU device assignment per worker thread thread_local! { - static ASSIGNED_GPU_DEVICE: RefCell> = RefCell::new(None); + static ASSIGNED_GPU_DEVICE: RefCell> = const { RefCell::new(None) }; } impl Default for GpuEngine {