package gogpu /* #cgo CFLAGS: -I. -w -g #cgo CXXFLAGS: -I. -std=c++11 -w -g #cgo LDFLAGS: -ldl #include #include "cgpu.h" */ import "C" // IdleGPU pass needed gpu memory size test if satisfy func IdleGPU(memSize int) int { return int(C.get_idle_gpu(C.int(memSize))) }