Search:

Type: Posts; User: GPUworker

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    3,684

    Re: Problem with clEnqueueReadBuffer

    I had a new observations. I though there may be a memory problem and I changed the input image from 400x400 to 200x200 and even low to 100x100.

    Then while using clEnqueueReadBuffer it is showing...
  2. Replies
    10
    Views
    3,684

    Re: Problem with clEnqueueReadBuffer

    // Allocate the OpenCL buffer memory objects for source and result on the device GMEM
    shrLog("clCreateBuffer process has started....\n");
    cmDevSrc = clCreateBuffer(cxGPUContext,...
  3. Replies
    10
    Views
    3,684

    Re: Problem with clEnqueueReadBuffer

    I am using the NVIDIA Geforce 9500 GT.

    The size of mem_sizeImage = sizeof(float) * 160000.

    Even I tried to copy the data from cmDevDst directly at the initial stage. But then also I am getting...
  4. Replies
    10
    Views
    3,684

    Re: Problem with clEnqueueReadBuffer

    I didn't understand this question?

    My implementation is developing a CNN algorithm for image processing applications.

    The code is as follows in the execution phase after the build program,...
  5. Replies
    10
    Views
    3,684

    Problem with clEnqueueReadBuffer

    Dear all,

    I am using the concept of multiple kernels in my work. I created some cl_mem devices which can be used in these kernels. There is the transfer of these memory elements from one kernel to...
  6. Re: Is it possible to call one kernel in another?

    Thanks for your support and quick reply. From all this knowledge I will try to implement my algorithm effectively.
    :D
  7. Re: Is it possible to call one kernel in another?

    Thanks for your reply...

    The question I am having now on seeing your code is..

    1. The kernel is launched 'N' time. That is every time we have to launch the kernel? (Will there be not data...
  8. Re: Is it possible to call one kernel in another?

    Yes. TAimg is computed multiple times and accumulated everytime.



    If we write accumulation and other stuff in a separate kernel, can we call it in IMConvolution kernel?



    I didnt...
  9. Re: Is it possible to call one kernel in another?

    Here the TBimg is calculated once using IMConvolution. But TAimg is calculated 'N' using IMConvolution.

    The accumulation is done after the calculation of TAimg. Even if we keep Accumulation in...
  10. Re: Is it possible to call one kernel in another?

    I already did the CNNonGPU in C and IMconvolution on kernel. If I do like this I don't get the good benefit of GPU. Because after this execution the GPU is only 3 or 4 time faster than CPU(Eg: if GPU...
  11. Is it possible to call one kernel in another?

    Dear all,

    I am trying to write a code for image processing.

    I want to write one kernel and want to call in another kernel. Is it possible?

    I came to know that we can call functions. I also...
  12. Re: Is it possible to write a function in a kernel file

    Dear all thanks for your reply....

    Sorry as I cant able to express my doubt clearly.

    I will make my question a bit clear. As Mr. silicone_milk said, I want to use the scenario like that.
    ...
  13. Is it possible to write a function in a kernel file

    I am trying to develop a algorithm for image processing on GPU.

    I can able to implement convolution on GPU till now.

    Now in that algorithms I have to use the convolution many times.

    Eg:
    ...
  14. Replies
    7
    Views
    5,909

    Re: Read Image via OpenCL commands

    I just want to have a small doubt. I have downloaded libjpeg v 7 found it as stable. But I came to see that it is a image compression and decompression library. I cant able to find any sample...
  15. Replies
    7
    Views
    5,909

    Re: Read Image via OpenCL commands

    Thanks for your suggestion. It is not compulsory to pass a float to kernel but the operations to be performed are in the level of float. So I will try this once and give you the reply.

    Once again...
  16. Replies
    7
    Views
    5,909

    Re: Read Image via OpenCL commands

    I want to do the above operation before the image is passed into the kernel. I want to pass the image to the kernel as a float.
  17. Replies
    7
    Views
    5,909

    Read Image via OpenCL commands

    Dear all,

    I am working with image processing applications on GPU. I previously used OpenCV as an interface to read an image make it to foalt and then used it via OpenCL commands. But, now I want...
  18. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    I am facing a problem for a 10000 x 10000 image.

    While I am passing an 10000 x 10000 image on to the GPU for execution I am getting a problem: It is showing an error at line ____...
  19. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    Now I have some questions

    1. Is there any method to compare the execution time between GPU and CPU?
    (As we are using event profiling for GPU and GetTickCount for CPU)

    2. The command...
  20. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    Dear david garcia,

    As you said I have used the event profiling and measured the execution times for different size of images

    Image -> GPU => Writing
    Kernel -> GPU => Writing
    GPU -> Image ...
  21. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    Thanks for ur support....
    I will try this and say you the results....
  22. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    Here is the code I have used to execute the convolution on Image
  23. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    #include <stdio.h>
    #include <conio.h>
    #include <windows.h>
    #include <assert.h>
    #include <sys/stat.h>
    #include <stdlib.h>
    #include <cstdlib>
    #include <fstream>
    #include <iostream>
    #include...
  24. Replies
    13
    Views
    4,990

    Re: How to reduce the read buffer time

    Thanks Mr. david.garcia

    I am measuring the kernel execution time using event profiling method.

    The execution time is in nano seconds. I also used CPU timer that is GetTickCount() also in Visual...
  25. Replies
    13
    Views
    4,990

    How to reduce the read buffer time

    Hello,

    I am working on convolution of an image with a mask of size 3x3.

    I am facing a problem with reading the data back from GPU to CPU. The time required to execute kernel is just 30 milli...
Results 1 to 25 of 38
Page 1 of 2 1 2