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