Search:

Type: Posts; User: elrachal

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,872

    Re: Error - 52 with clEnqueueNDRangeKernel

    Sorry for the double posting. but I found out where the mistake were :
    errNum = clSetKernelArg(kernel,0,sizeof(cl_mem),&memObjects[0]);
    errNum |=...
  2. Replies
    2
    Views
    1,063

    Re: How to display error code

    That's optimal !!

    Thank you :)
  3. Replies
    5
    Views
    2,872

    Re: Error - 52 with clEnqueueNDRangeKernel

    Each parameter in the kernel function has an index associated with it.
    The first argument has index 0, the second has index 1, the third has index 2 and so on.
    Or am I wrong?
  4. Replies
    5
    Views
    2,872

    Re: Error - 52 with clEnqueueNDRangeKernel

    I assume :

    I have this in the main:



    if(!CreateMemObjects(context,memObjects,tableauObjet,F))
    {
    Cleanup(context,commandQueue,program,kernel,&memObjects[0]);
    return 1;
  5. Replies
    5
    Views
    2,872

    Error - 52 with clEnqueueNDRangeKernel

    Hi Everyone,

    I got a problem with :


    size_t globalWorkSize[1] = {11};
    size_t localWorkSize[1] = {1};

    errNum = clEnqueueNDRangeKernel( commandQueue,kernel,1,NULL,...
  6. Replies
    2
    Views
    1,063

    How to display error code

    Hi everyone,

    I'm having some trouble with the following function :

    errNum = clEnqueueNDRangeKernel(commandQueue,kernel,1,NULL,globalWorkSize,localWorkSize,0,NULL,NULL);
    printf("errNum =...
  7. Replies
    6
    Views
    5,078

    Re: using printf in the .cl file

    I'm using Nvidia,

    Does something like this exists on Nvidia?
  8. Replies
    6
    Views
    5,078

    using printf in the .cl file

    Hi everyone,

    I'd like to use

    printf("test\n")

    Unfortunately, I get the following mistake:
  9. Replies
    2
    Views
    1,592

    Re: beginer errors in my CL file

    I'm stupid.

    Now it works !!

    Thank you !!
  10. Replies
    2
    Views
    1,592

    beginer errors in my CL file

    Hi everyone,

    I'm quite a beginer and am having some trouble with my OpenCL C code :



    struct knapSack
    {
    int valeur;
    int dimension;
Results 1 to 10 of 14