Open
Description
Go1.8
I can get the dreaded 'panic: runtime error: cgo argument has Go pointer to Go pointer' in
cl.GetPlatformIDs() when i make the cl.PlatformID argument a non-local variable. Same for cl.DeviceId in cl.GetDeviceIDs()...
Things seem to work fine if those variables are local, like in the provided sample code. It is a mystery to me, because this panic comes and goes, depending on code changes i make, and thus maybe the
actual addresses where the cl.PlatformID and cl.DeviceId are stored?
Metadata
Metadata
Assignees
Labels
No labels