You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: