Search:

Type: Posts; User: whitepearl

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,139

    Code hangs when executed second time

    I am naive OpenCL user and I am trying to run an OpenCL code on my AMD device. The program executes successfully when run for first time but fails when executed there after(system hangs) after...
  2. Re: Usertime of execution almost same on CPU as well as GPU?

    Yes. installation issues are worked out.

    Finding prime numbers are small independent tasks so why is GPU not able to give a better performance over CPU?

    Could you please help me with the issue...
  3. Usertime of execution almost same on CPU as well as GPU?

    On running the below code to find prime numbers , it gave the following benchmarks :

    Device : CPU

    Realtime : approx. 3 sec
    Usertime : approx. 32 sec

    Device : GPU

    Realtime - approx. 37 sec
  4. Re: Segmentation fault while creating command queue

    Though I have added checks yet the problem is not with the code. As soon as I run the code it aborts returning segfault. Even after installing compatible drivers the system gives segfault for any...
  5. Segmentation fault while creating command queue

    I have two ATI Radeon 5970 graphics card with Intel Core i7 processor running 64-bit CentOS 5.3 on my system. I have installed ATI Catalyst 12.2(64-bit) drivers and AMD APP SDK 2.4 as well. Output...
  6. Re: Unable to pass structure to a opencl kernel

    Hey, found bug and fixed it.

    Thanx all, :)
  7. Re: Unable to pass structure to a opencl kernel

    This error comes only when I pass a structure to the kernel. For rest other datatypes the same code works fine, so it is not a completely different program. Can any one help urgently?

    What can I...
  8. Re: Unable to pass structure to a opencl kernel

    Debugging through I found that the code has error in the statement before setting kernel parameters.

    The code before setting kernel parametes

    // Build the program

    ret =...
  9. Re: Unable to pass structure to a opencl kernel

    No, changing 'typedef long long int bitboard' to 'typedef long int bitboard' does not make a difference.

    While passing a structure do we need to write the structure definition in host and kernel...
  10. Re: Unable to pass structure to a opencl kernel

    Error returned


    Error: Setting kernel argument. (c_mem)
    Error: Setting kernel argument. (struct c)


    Structure definition :
  11. Unable to pass structure to a opencl kernel

    Hello,

    I am a novice in OpenCl and I am facing problem with passing structure to a opencl kernel.

    I have a structure :

    struct c {
    Bitboard a;
    .
    .
Results 1 to 11 of 11