Results 1 to 2 of 2

Thread: openCL and cuda on the same GPU (GTX260)

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    22

    openCL and cuda on the same GPU (GTX260)

    Hi there,

    I have written an openCL, and also a cuda version for my cfd code. I used the same algorithm for both of them; and same optimization level, I guess... since I didn't add anything else when compile.

    I thought, if I run them on the same machine, they would have the same speed, roughly. However, I found cuda is about 2 times faster than openCL on GTX260, (3:1 speed).

    Did I do anything wrong? or it should be like this? Could someone give me some suggestions? Any thought will be appreciated!

    Thanks!

  2. #2
    Senior Member
    Join Date
    Jul 2009
    Location
    Northern Europe
    Posts
    311

    Re: openCL and cuda on the same GPU (GTX260)

    There have been a lot of reports that Nvidia's OpenCL beta is slow compared to CUDA. You should file a bug report against Nvidia if you can figure out what is slower, but otherwise you'll just have to wait for Nvidia to optimize their OpenCL implementation.

Similar Threads

  1. Screen grabber on GPU for openCL/openGL/cuda
    By dszynkarczyn in forum OpenCL
    Replies: 2
    Last Post: 11-18-2011, 07:33 PM
  2. Replies: 2
    Last Post: 08-12-2010, 12:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •