removed HIP support
This commit is contained in:
committed by
Sheepit Renderfarm
parent
37f8ac1f73
commit
304085786c
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user