Best approach for GPGPU/CUDA/OpenCL in Java?

后端 未结 8 1285
深忆病人
深忆病人 2020-11-30 18:13

General-purpose computing on graphics processing units (GPGPU) is a very attractive concept to harness the power of the GPU for any kind of computing.

I\'d love to

8条回答
  •  萌比男神i
    2020-11-30 18:45

    I've been using JOCL and I'm very happy with it.

    The main disadvantage of OpenCL over CUDA (at least for me) is the lack of available libraries (Thrust, CUDPP, etc). However CUDA can be easily ported to OpenCL, and by looking at how those libraries work (algorithms, strategies, etc) is actually very nice as you learn a lot with it.

提交回复
热议问题