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

pyopencl error in excersises 07 solution #74

Open
godcrying opened this issue Mar 7, 2020 · 0 comments
Open

pyopencl error in excersises 07 solution #74

godcrying opened this issue Mar 7, 2020 · 0 comments

Comments

@godcrying
Copy link

when I run the python version solution of exercise 07, then I get an error message as follow:

Traceback (most recent call last):
  File "matmul.py", line 111, in <module>
    mmul(queue, (N,), (ORDER/16,), N, d_a, d_b, d_c)
  File "/home/xxx/.local/lib/python3.8/site-packages/pyopencl/__init__.py", line 840, in kernel_call
    return self._enqueue(self, queue, global_size, local_size, *args, **kwargs)
  File "<generated code>", line 74, in enqueue_knl_mmul
RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)

the C language version solution works just fine.

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