You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\x1b[32m[xtask]\x1b[0m The highest CUDA version supported by your driver is {version_str}"
192
192
);
193
193
println!(
194
-
"\x1b[32m[xtask]\x1b[0m You can also visit https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html to find the CUDA version compatible with your GPU driver."
194
+
"\x1b[33m[xtask]\x1b[0m You can also visit https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html to find the CUDA version compatible with your GPU driver."
"\x1b[32m[xtask]\x1b[0m nvidia-smi not found. Please make sure you have an NVIDIA GPU and drivers installed."
203
+
"\x1b[31m[xtask]\x1b[0m nvidia-smi not found. Please make sure you have an NVIDIA GPU and drivers installed."
204
204
);
205
205
}
206
206
207
207
println!();
208
208
println!(
209
-
"\x1b[32m[xtask]\x1b[0m Please visit https://developer.nvidia.com/cuda-toolkit-archive to select and download the appropriate CUDA version for your driver."
209
+
"\x1b[33m[xtask]\x1b[0m Please visit https://developer.nvidia.com/cuda-toolkit-archive to select and download the appropriate CUDA version for your driver."
210
210
);
211
211
}
212
+
"OpenCL" => {
213
+
println!(
214
+
"\x1b[32m[xtask]\x1b[0m The current automatic installation script only supports OpenCL installation for Intel CPU on Windows or Ubuntu systems."
215
+
);
216
+
println!("\x1b[32m[xtask]\x1b[0m Checking if OpenCL is already installed...");
217
+
println!();
218
+
219
+
// Check if OpenCL is installed
220
+
#[cfg(target_os = "windows")]
221
+
{
222
+
let clinfo_path = std::path::Path::new("clinfo.exe");
"\x1b[31m[xtask]\x1b[0m Failed to download w_opencl_runtime_p_2025.1.0.972: {}",
341
+
e
342
+
);
343
+
println!("\x1b[33m[xtask]\x1b[0m You may need to enable proxy.");
344
+
println!(
345
+
"\x1b[33m[xtask]\x1b[0m You can also manually download from https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b6dccdb7-b503-41ea-bd4b-a78e9c2d8dd6/w_opencl_runtime_p_2025.1.0.972.exe"
346
+
);
347
+
return;
348
+
}
349
+
350
+
println!(
351
+
"\x1b[33m[xtask]\x1b[0m Download completed. Please manually execute 'w_opencl_runtime_p_2025.1.0.972.exe' to install OpenCL for Intel CPU."
0 commit comments