pub fn setup_environment() -> (EnvFileResult, GpuFilterResult, GpuArchInfo)Expand description
Run the complete enhanced setup environment.
This is the Rust equivalent of the main() function in
enhanced_setup_environment.sh:
- Check system dependencies
- Detect AMD GPUs
- Detect ROCm
- Configure environment variables
- Create environment file
ยงReturns
A tuple of (env_file_result, gpu_filter_result, gpu_arch_info).