From 0c66b59aa4328b6118c84cb130b75899b41cd05c Mon Sep 17 00:00:00 2001 From: Xiaochun Tong Date: Thu, 5 Oct 2023 08:24:37 -0400 Subject: [PATCH] rename --- luisa_compute/examples/autodiff.rs | 2 +- luisa_compute/src/lang.rs | 2 +- luisa_compute/src/lang/{diff.rs => autodiff.rs} | 0 luisa_compute/tests/autodiff.rs | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename luisa_compute/src/lang/{diff.rs => autodiff.rs} (100%) diff --git a/luisa_compute/examples/autodiff.rs b/luisa_compute/examples/autodiff.rs index 6c112245..79de9f04 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 8e220854..c8b0bc19 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 45d877cd..8d9f1cee 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::*;