diff --git a/luisa_compute/examples/autodiff.rs b/luisa_compute/examples/autodiff.rs index 6c11224..79de9f0 100644 --- a/luisa_compute/examples/autodiff.rs +++ b/luisa_compute/examples/autodiff.rs @@ -1,7 +1,7 @@ use std::env::current_exe; use std::f32::consts::PI; -use luisa::lang::diff::*; +use luisa::lang::autodiff::*; use luisa::prelude::*; use luisa_compute as luisa; fn main() { diff --git a/luisa_compute/src/lang.rs b/luisa_compute/src/lang.rs index 8e22085..c8b0bc1 100644 --- a/luisa_compute/src/lang.rs +++ b/luisa_compute/src/lang.rs @@ -28,7 +28,7 @@ use self::index::IntoIndex; pub mod control_flow; pub mod debug; -pub mod diff; +pub mod autodiff; pub mod functions; pub mod index; pub mod ops; diff --git a/luisa_compute/src/lang/diff.rs b/luisa_compute/src/lang/autodiff.rs similarity index 100% rename from luisa_compute/src/lang/diff.rs rename to luisa_compute/src/lang/autodiff.rs diff --git a/luisa_compute/tests/autodiff.rs b/luisa_compute/tests/autodiff.rs index 45d877c..8d9f1ce 100644 --- a/luisa_compute/tests/autodiff.rs +++ b/luisa_compute/tests/autodiff.rs @@ -1,7 +1,7 @@ use std::ops::Range; use alias::*; -use luisa::lang::diff::*; +use luisa::lang::autodiff::*; use luisa::lang::types::core::*; use luisa::lang::types::vector::*; use luisa::prelude::*;