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

getPlatformIDs throws "ClError.toEnum: Cannot match -1001" #10

Open
ktosiek opened this issue May 29, 2012 · 0 comments
Open

getPlatformIDs throws "ClError.toEnum: Cannot match -1001" #10

ktosiek opened this issue May 29, 2012 · 0 comments

Comments

@ktosiek
Copy link

ktosiek commented May 29, 2012

When running this (interpreted in ghci or compiled):

import Control.Monad
import Foreign.OpenCL.Bindings

main = putStrLn =<< (liftM show $ getPlatformIDs)

I'm getting:
*** Exception: ClError.toEnum: Cannot match -1001

I'm using:

  • Linux 3.2.0-24-generic #39-Ubuntu x86_64
  • NVIDIA Corporation GT218 [ION]
  • hopencl 0.2.0
  • GHC 7.4.1
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