1
non-bin
6y

Does anyone know the best way of doing GPU stuff in C? I have a cuda enabled GTX 1050, but the cuda drivers screw everything up on machine for some reason.
Is there a better way to do this without the cuda drivers?

Comments
  • 1
    Try OpenCL ? I haven't used much of either, but they're the only ones I've heard of
  • 0
    @CptFox do you know the differences between openCL and openGL?
  • 1
    @non-bin Really, dude? That's a question you can easily answer with 5 minutes of research. 😧

    One is a graphics library, the other is a computing library. OpenCL allows you to run code on the GPU, basically.
  • 1
    @Gogeta70 I have done some research, I just find people give better answers on here
  • 1
    @non-bin OpenCL is just the cross-platform API equivalent for CUDA for heterogenous computing, supported by giants like AMD, Apple & yeah Nvidia.
    So, theoretically, using OpenCL makes your code kinda portable. However, GPU computing is currently dominated by CUDA, which had the first mover's advantage.
  • 0
    @programmer also because CUDA is way easier to use
Add Comment