Search:

Type: Posts; User: phoebe0105

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Re: work group size question.."CL_INVALID_WORK_GROUP_SIZE"

    the parameter of clEnqueueNDRangeKernel() is that.


    Set work-item dimensions
    szGlobalWorkSize[0] = (iWidth/16); //iWidth=800
    szGlobalWorkSize[1] = (iHeight/16); // iHeight = 800...
  2. work group size question.."CL_INVALID_WORK_GROUP_SIZE"

    In my source code, I just use two work-items.
    global work size is 50 and local work size is also 50.

    But I'm not success in my source code. :cry:

    If I call the clEnqueueNDRangeKernel()...
  3. :211: error:no matching overload found for arguments of type

    I have two error.

    Build Log:
    :211: error: no matching overload found for arguments of type 'ulong __attribute
    __((address_space(3)))*, ulong __attribute__((address_space(1)))*, int, int'
    ...
  4. Re: copy from global memory to local memory..problem

    anybody help me~~~~ :cry:
  5. Re: copy from global memory to local memory..problem

    __local ulong clientPixelData[2048];
    __global ulong *sourcepos = (__global ulong *)(source + (sourceWidth * hexTop)+(hexLeft * 4));

    event_t events = async_work_group_copy(&clientPixelData,...
  6. copy from global memory to local memory..problem

    I want to copy from global memory to local memory about image data.
    So I researched the opencl specification document and I found a function(async_work_group_copy() function).
    This function perform...
  7. Replies
    7
    Views
    4,373

    Re: How do opencl kernel perform?

    OK. I wrote the szLocalWorkSize[1] and catched the problem.

    I have another question.
    Is OpenCL kernel funtion possible to executed sequentially??
  8. Replies
    7
    Views
    4,373

    Re: How do opencl kernel perform?

    I set the global size to [16,16] and work_dim to 2.
    However the problem is occured.
    This problem is " CL_INVALID_WORK_GROUP_SIZE ".

    I changed the source code.

    1. first change
    ...
  9. Replies
    7
    Views
    4,373

    Re: How do opencl kernel perform?

    Thanks your advise.

    I have one question. If I want to 256 work items, What's the number of localSize and globalSize?
    Now in my source, globalSize is 16*16(=256) and localSize is 16.
    Is it...
  10. Replies
    7
    Views
    4,373

    How do opencl kernel perform?

    I don't understand how do the opencl kernel function to perform.
    I want to calculate something in opencl kernel. So I use 256 work-item and perform it and I want to gain final result.

    Is...
  11. Replies
    14
    Views
    9,091

    Re: opencl build error..!!

    MFC is Microsoft Foundation Class Library in windows.

    The Microsoft Foundation Class Library (also Microsoft Foundation Classes or MFC) is a library that wraps portions of the Windows API in C++...
  12. using oclUtils library and shrUtils library problem..

    I have another question. I want to use oclUtility library in mfc environment. When I use oclUtil32D.lib, however, I'm faced at link error.. I hope to use this library file.

    How can I use this...
  13. Replies
    14
    Views
    9,091

    Re: opencl build error..!!

    No I don't have multiples kernels on the opencl kernel file..
    It has only one kernel.

    I want to complie opencl from mfc project. Is it a problem??
  14. Replies
    14
    Views
    9,091

    Re: opencl build error..!!

    When I build the same opencl kernel source in command(with c), it never occured error.
    But now, I build with mfc, it is occured error. (opencl kernel source is same!!)
    Therefore I don't understand...
  15. Replies
    14
    Views
    9,091

    Re: opencl build error..!!

    I attempt "clGetProgramBuildInfo()" before, and I got this information.
    :160: error: expected identifier or '('
  16. Replies
    14
    Views
    9,091

    opencl build error..!!

    I face to opencl program build error.
    This erro is "CL_BUILD_PROGRAM_FAILURE".
    I read the document of opencl 1.0.43 provide by KHRONOS.

    "CL_BUILD_PROGRAM_FAILURE if there is a failure to build...
  17. Replies
    3
    Views
    2,772

    Re: clBuildProgram() function error...!!

    First I called clCreateProgramWithSource() and then I called clBuildProgram() function.

    Also I am using NVidia implementation.
  18. Replies
    3
    Views
    2,772

    clBuildProgram() function error...!!

    I solved another problem.... and I wrote a new opencl kernel source.
    The new kernel source is hextile code in opencl. I want to control the hextile encoding to the openCL(GPU).
    I'm changed the...
  19. Replies
    1
    Views
    1,696

    Execute opencl kernel problem..

    I have one question.

    clEnqueueNDRangeKernel() function is error..
    I prepared my opencl source code. Before executing kernel not occur any error.
    I correct all parameters with this fuction....
  20. using opencl kernel function parameter & ptxas ptx problem

    opencl kernel function include a lot of parameters.

    And I want to control the parameter.

    Some parameters are cl_mem, another parametsers are cl_int or cl_long in opencl application program....
  21. Re: incompatible integer to pointer conversion!!

    thank you for your advise.

    I just follow right now..
    If another problem is occured, I write this board. Thank you.
  22. Replies
    0
    Views
    1,402

    OpenCL pointer computing problem..

    I want to openCL pointer compute using global ulong pointer.

    My purpose is that one image in host computer is copyed the gpu memory and this image is computed using pointer in openCL(gpu)..
    Then...
  23. Re: incompatible integer to pointer conversion!!

    I just send from int data to __global int pointer.

    destoffset(int data) is computed in kernel source.
    And then resDestoffset(__global int*) is received the destoffset data..(I want it..)

    It is...
  24. incompatible integer to pointer conversion!!

    If this error is occured, what am I do it?
    Plez advise to me.

    :70: warning: incompatible integer to pointer conversion assigning 'int', expect
    ed 'int __attribute__((address_space(1)))*'...
  25. Replies
    13
    Views
    3,914

    Re: I don't know this error.

    I using your suggestion that I make copy a piece of my code. And then I get my error but also I don't understand with this error.

    This error is occur in 'for roop'.


    __kernel...
Results 1 to 25 of 43
Page 1 of 2 1 2