| | |
| | | shm bool |
| | | ipc2Rule string |
| | | ruleMsgMaxCacheSize int |
| | | reserved map[string]string |
| | | reserved map[string]interface{} |
| | | } |
| | | |
| | | // Create create sdk |
| | | func Create(config string, typ, id string, gpu int, shm bool, ipc2Rule string, ruleMaxSize int, fn func(...interface{}), reserved map[string]string) interface{} { |
| | | func Create(config string, typ, id string, gpu int, shm bool, ipc2Rule string, ruleMaxSize int, fn func(...interface{}), reserved map[string]interface{}) interface{} { |
| | | |
| | | handle := NewSDK(fn) |
| | | if handle == nil { |