how to call GPU_kernel function

asked 2013-02-27 00:04:17 +0200

sisupi gravatar image

updated 2013-02-27 10:35:24 +0200

kcrisman gravatar image

We are new to this platform. At the time of calling kernel we face the error as

***File "/tmp/tmpGpJlVO/", line 31, in <module>
    func(b_gpu, a_gpu,info_gpu, block = (_sage_const_32 ,_sage_const_1 ,_sage_const_1 ), grid = (_sage_const_4 ,_sage_const_1 ))
  File "/usr/local/sage/sage-test/sage-4.7.1/local/lib/python2.6/site-packages/pycuda-2012.1-py2.6-linux-x86_64.egg/pycuda/", line 354, in function_call
Boost.Python.ArgumentError: Python argument types in
    Function._set_block_shape(Function, sage.rings.integer.Integer, sage.rings.integer.Integer, sage.rings.integer.Integer)
did not match C++ signature:
    _set_block_shape(pycuda::function {lvalue}, int, int, int)***

please help us....

edit retag flag offensive close merge delete


A lot more information about what you did to get this error message would be really helpful in trying to analyze this. What commands did you enter?

kcrisman gravatar imagekcrisman ( 2013-02-27 10:36:07 +0200 )edit