I install datacenter-gpu-manager-1.6.3-1.x86_64.rpm in centos7, and write some code in golang1.12.7. And then build the project, two errors are encountered:
dcgm/device_info.go:99:141: cannot use &values[0] (type *_Ctype_struct___9) as type *_Ctype_struct___11 in assignment
dcgm/device_status.go:129:144: cannot use &values[0] (type *_Ctype_struct___9) as type *_Ctype_struct___11 in assignment
I install datacenter-gpu-manager-1.6.3-1.x86_64.rpm in centos7, and write some code in golang1.12.7. And then build the project, two errors are encountered:
dcgm/device_info.go:99:141: cannot use &values[0] (type *_Ctype_struct___9) as type *_Ctype_struct___11 in assignment
dcgm/device_status.go:129:144: cannot use &values[0] (type *_Ctype_struct___9) as type *_Ctype_struct___11 in assignment
Any help is appreciated