公告板
版本库
filestore
活动
搜索
登录
valib
/
gogpu
go gpu info
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
update dir
zhangmeng
2019-05-31
6e389e1c35b948f5373eca07791993f32200e98c
[valib/gogpu.git]
/
cgpu.cpp
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);
}