removed HIP support

This commit is contained in:
harlekin
2023-01-28 14:44:04 +00:00
committed by Sheepit Renderfarm
parent 37f8ac1f73
commit 304085786c
8 changed files with 64 additions and 430 deletions

View File

@@ -194,9 +194,12 @@ public class Worker {
config.setHeadless(headless);
if (gpu_device != null) {
if (gpu_device.startsWith(Nvidia.TYPE) == false && gpu_device.startsWith(HIP.TYPE) == false) {
System.err.println("ERROR: The entered GPU_ID is invalid. The GPU_ID should look like '" + Nvidia.TYPE + "_#' or '" + HIP.TYPE
+ "_#'. Please use the proper GPU_ID from the GPU list below\n");
//catch all the outdated configs
if (gpu_device.startsWith(HIP.TYPE)) {
System.err.println("ERROR: HIP devices are not supported");
}
else if (gpu_device.startsWith(Nvidia.TYPE) == false) {
System.err.println("ERROR: The entered GPU_ID is invalid. The GPU_ID should look like '" + Nvidia.TYPE + "_#. Please use the proper GPU_ID from the GPU list below\n");
showGPUList(parser);
}