MCPcopy Create free account
hub / github.com/Icecubesaad/OpenLLM-Studio / test_gpu_layers_cpu

Function test_gpu_layers_cpu

src-tauri/src/optimization.rs:125–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123
124 #[test]
125 fn test_gpu_layers_cpu() {
126 let layers = OptimizationCalculator::calculate_gpu_layers(&GpuBackend::CpuOnly);
127 assert_eq!(layers, 0);
128 }
129
130 #[test]
131 fn test_full_calculation() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected