Undefined function in JCuda

Hi,

I’m trying to use JCuda, and I am able to run the simple code that is provided for test. However, I couldn’t run the add example. There are several undefined functions such as cuModuleLoad, cuModuleGetFunction, cuMemAlloc, cuMemcpyHtoD, cuLaunchKernel, cuMemFree.

Thanks in advance.

Hi

How exactly are you trying to compile it, and what exactly is the error message?
Are you using an IDE like Eclipse? Make sure that the JCuda JAR is added to the classpath.

bye
Marco