Revert "update 云平台改为单显卡" fog使用双显卡

dev_lsy
liusiyang 2 weeks ago
parent e47a221978
commit aaac47868f

@ -41,7 +41,7 @@ struct GPU_Config
UseGPUList[i] = -1;
}
UseGPUList[0] = 0;
UseGPUList[1] = -1;
UseGPUList[1] = 1;
}
int GetNum()
{

@ -3,7 +3,7 @@
#include <string>
#include <memory>
#define ALL_INTERFACE_VERSION 7
#define MAX_GPU_NUM 1
#define MAX_GPU_NUM 4
enum CHECK_THREAD_RUN_STATUS
{
@ -53,7 +53,7 @@ struct RunInfoST
UseGPUList[i] = -1;
}
UseGPUList[0] = 0;
UseGPUList[1] = -1;
UseGPUList[1] = 1;
}
void copy(RunInfoST tem)
{

@ -329,7 +329,7 @@ int ALLImgCheckAnalysisy::InitAIFactory()
if (num == 0)
{
gpu.UseGPUList[0] = 0;
gpu.UseGPUList[1] = -1;
gpu.UseGPUList[1] = 1;
}
for (int i = 0; i < MAX_GPU_NUM; i++)
{

Loading…
Cancel
Save