Me mother tongue is Java (I know I know, but you can’t change who you are).
So I wanted to get a pros / cons of doing CUDA vs. JCUDA.
I just found out there is a jcuda.org
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
cuda represents language extensions to C or C++ (or Fortran). JCuda presents a binding API so that library calls (e.g. cublas for linear algebra, or cufft for fft’s, etc.) and arbitrary cuda functions written in C or C++ can be called from Java. If you want to write java kernel code that runs on the GPU, you may also be interested in root beer. Root beer allows you to write kernel code that runs on the thread processors in a GPU directly, without any requirement for CUDA C. However, you’ll still need to install the CUDA toolkit to enable the Root Beer “Java Compiler”.