zhangmeng
2019-05-31 6e389e1c35b948f5373eca07791993f32200e98c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifdef __cplusplus
extern "C"{
#endif
 
#include "cgpu.h"
 
#ifdef __cplusplus
}
#endif
 
#include "gpu/info.h"
#include "gpu/info.cpp"
 
int get_idle_gpu(const int mem_size){
    return gpu::getGPU(mem_size);
}