external function python with cuda.jit

0 views
Skip to first unread message

dhl...@gmail.com

unread,
Feb 26, 2015, 3:47:16 PM2/26/15
to anac...@continuum.io
Hello everyone, I am new to anaconda, but I would like to make a code, which call function py, which are not customized with @cuda.jit..etc but  the master code is programming with anaconda. I hope you understand me with the code below.

ws=cuda.declare_device('bar','int32(int32,int32)')
linkfile="../externalf.py"

@cuda.jit( 'void(f8, f8)', link=[linkfile])
def foo(inp,out):
    externalf(inp,out) 
Reply all
Reply to author
Forward
0 new messages