Results 1 to 2 of 2

Thread: clGetPlatformIDs : Device Not Found

  1. #1
    Junior Member
    Join Date
    Oct 2011

    clGetPlatformIDs : Device Not Found


    I'm trying to use OpenCL on two different GPUs : Tesla C 1060 and Quadro FX 5800. When I use this code :
    Code :
    cl_uint platNum;
    cl_platform_id platform;
    cl_int err;
    err == clGetPlatformIDs(1, &platform, &platNum);

    The function returns the error "Device not found" (on the two GPUs). I searched what's the problem but I can't find the solution or even the cause. Does someone have an idea of the problem and how to solve it please ?

    On the Quadro FX, I'm working with OpenCL 1.0 and CUDA 3.2 ; on the Tesla C 1060, I'm working with OpenCL 1.0 and CUDA 4.0 (both on Linux).

    Best regards

  2. #2

    Re: clGetPlatformIDs : Device Not Found

    Quote Originally Posted by Elliole
    Code :
    err == clGetPlatformIDs(1, &platform, &platNum);
    most probably you know but you have one 'equals' sign more.
    so correct should be:
    err = clGetPlatformIDs(1, &platform, &platNum);

    another thing: what value you are getting here (will give you number of available platforms)?
    Code :
    err = cclGetPlatformIDs(0, NULL, & platNum);

Similar Threads

  1. NO Cpu device found
    By sajis997 in forum OpenCL
    Replies: 7
    Last Post: 06-27-2012, 02:28 AM
  2. clGetPlatformIDs Exception..
    By phoebe0105 in forum OpenCL
    Replies: 4
    Last Post: 04-20-2010, 05:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean