refactor: move GPU collection files around (#2231)

No functionality change, this just rearranges the file structure a bit.
This commit is contained in:
Clement Tsang
2026-09-04 02:00:38 -04:00
committed by GitHub
parent f9e1703727
commit fe79718e17
5 changed files with 9 additions and 5 deletions
+4 -5
View File
@@ -2,11 +2,10 @@
//!
//! TODO: Rename this to intake? Collection?
#[cfg(feature = "nvidia")]
pub mod nvidia;
#[cfg(all(target_os = "linux", feature = "gpu"))]
pub mod amd;
#[cfg(feature = "gpu")]
pub mod gpu;
#[cfg(feature = "gpu")]
pub use gpu::*;
#[cfg(target_os = "linux")]
mod linux {
+5
View File
@@ -0,0 +1,5 @@
#[cfg(feature = "nvidia")]
pub mod nvidia;
#[cfg(all(target_os = "linux", feature = "gpu"))]
pub mod amd;