Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATAL UNHANDLED EXCEPTION: System.InvalidOperationException: ErrorCode:'-1' at scallion.CLDeviceInfo.CheckError #158

Open
kintarowonders opened this issue May 5, 2020 · 0 comments

Comments

@kintarowonders
Copy link

On Fedora 32 I am getting these errors trying to run scallion - I am using rpmfusion cuda/nvidia drivers. nvidia-driver-devel 440.82 and cuda 10.2.89 and I built scallion myself with 'xbuild scallion.sln /p:TargetFrameworkVersion="v4.5"' and when I run I get this output...

Unhandled Exception:
System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <614664376d44439598fb9b7456340637>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00021] in <614664376d44439598fb9b7456340637>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00028] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.Program.Main (System.String[] args) [0x00282] in <5f4df38453f848f1887dde2f8fa75d84>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException:  ErrorCode:'-1'
  at scallion.CLDeviceInfo.CheckError (System.Int32 err) [0x00018] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.GetDeviceIds (System.IntPtr platformId, OpenTK.Compute.CL10.DeviceTypeFlags deviceType) [0x00010] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLDeviceInfo.<GetDeviceIds>m__0 (System.IntPtr i) [0x00000] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <614664376d44439598fb9b7456340637>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00021] in <614664376d44439598fb9b7456340637>:0 
  at scallion.CLDeviceInfo.GetDeviceIds () [0x00028] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.CLRuntime.GetDevices () [0x00001] in <5f4df38453f848f1887dde2f8fa75d84>:0 
  at scallion.Program.Main (System.String[] args) [0x00282] in <5f4df38453f848f1887dde2f8fa75d84>:0 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant