Search:

Type: Posts; User: L!l!am

Search: Search took 0.00 seconds.

  1. error with processors i7 and not with processors Duo or Quad using OpenCL

    Hello!!! I have a problem:
    I have a code and that works well in processors Intel Duo or Quad, but in processors i7 the code gives me error, add a picture of the error, please Help me!!!!! I am...
  2. More problems with atomic_cmpxchg, help!!!!

    Hi, I have this section of code implemented:
    Main.cpp
    ..
    int *mutex;
    cl_kernel kernel =clCreateKernel(programCPU, "namefunction", &ret);
    clSetKernelArg(kernel, 0, sizeof(int), & mutex);...
  3. Replies
    2
    Views
    378

    thank you!!!! that resolve the problem!!!

    thank you!!!! that resolve the problem!!!
  4. Replies
    2
    Views
    378

    problem with atomic_cmpxchg

    Hi, I need to implement a semaphore, I write this code, but gives me error, the code is this:

    #pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable

    #pragma OPENCL EXTENSION...
  5. hi, this is part of code. for (int...

    hi, this is part of code.
    for (int i=0;i<12;i++)
    {
    kernel[i]= clCreateKernel(programGPU, "function", &ret);
    ret=clSetKernelArg(kernel[i], 0, sizeof(cl_mem), &buffer);...
  6. read multiple exits using function clEnqueueTask

    hi!! I have a problem, I am using the function clEnqueueTask() to execute many kernels, but, I need take the result in a certain order.
    For example:
    for(int i=0;i<12;i++)...
  7. Replies
    2
    Views
    515

    working with thread in a kernel

    hello!!!
    I want to do this:
    I have a array "Signal" with length=1000, but I want to process it for parts, in other words: in my PC with 4 cores,
    I need that each core process 250 serial elemtents ...
  8. Replies
    1
    Views
    483

    State of a kernel when it's running?

    Exist any way to know the state of a kernel when it's running??
  9. Replies
    6
    Views
    975

    I resolved the problem. thanks

    I resolved the problem. thanks
  10. Replies
    6
    Views
    975

    Hi again!! I use this line to align:...

    Hi again!! I use this line to align:
    clGetDeviceInfo(info[deviceCPU].device_id, CL_DEVICE_MEM_BASE_ADDR_ALIGN,0,NULL,NULL);
    and this is the code :

    int sizebuffer=(length/512);...
  11. Replies
    6
    Views
    975

    with this code i have the same problem: ...

    with this code i have the same problem:

    cl_mem* subbufferCPU=(cl_mem *)malloc(sizeof(cl_mem)*sizebuffer);
    cl_buffer_region region;
    region={0,10000*sizeof(float)};
    size_t size=0;
    for (int t=0;...
  12. Replies
    6
    Views
    975

    error -13 when I using clCreateSubBuffer

    hi!! I have this code:

    cl_mem* subbufferCPU=(cl_mem *)malloc(sizeof(cl_mem)*sizebuffer);
    cl_mem* subbufferhnsi=(cl_mem *)malloc(sizeof(cl_mem)*sizebuffer);
    cl_mem*...
Results 1 to 12 of 12