Search:

Type: Posts; User: howaidi

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    964

    Do I have coalsecing access?

    Hi,

    I have a kernel and in this kernel I am accessing 3 arrays(a,b,T) stored in global memory:

    do I have coalescing access in array a, b, T?

    T[5], b[15], a[30], col =5, and I have 6 thread....
  2. Replies
    1
    Views
    1,360

    Reduce the number of register

    Hello All,

    I wrote a kernel, this kernel will execute an equation, and when I use the visual profiler I found that I cant run all available thread in parallel, for example the gpu can run 1563...
  3. Replies
    0
    Views
    888

    Deleting buffer in c++ binding

    Hello,

    I have two kernel, and I set different buffers for each one of them, and I want to delete the buffers of the first kernel and free the memory before creating the buffers of the second...
  4. Thread: high precision

    by howaidi
    Replies
    2
    Views
    782

    high precision

    Hi,

    How we can get a high precision in opencl, I am doing some mathmatic computation and using pow function, but at some ponit it round the value to zero, while on CPU it give a very small value...
  5. Replies
    3
    Views
    1,191

    Re: Problem with coping golbal to local memory

    :shock: wooow I didn't notice that :) thank you,


    Actually the C1 in real is 2d array with size [3][4], and I will use it later in other computation, so I was thinking that convert it to 2d...
  6. Replies
    3
    Views
    1,191

    Problem with coping golbal to local memory

    I have a problem with the local memory, when I try to copy a global buffer C1[12] to local memory something wrong happen,
    C1 = {1,1,1,1,2,2,2,2,3,3,3,3}
    but after the copy to local memory 'C' the...
  7. Replies
    5
    Views
    1,784

    Re: two level of parallel

    I am new to opencl (and may be this is clear from my questions :) ) , OK I was bit fair that launching the kernel will affect the performance a lot.
    so I should setup the buffers each time for the...
  8. Replies
    5
    Views
    1,784

    Re: two level of parallel

    Hi david,
    Thank you for your reply and sorry for the belated reply since I noticed your reply late, I solved it by putting the 3 array together in one large array, but which one is better ur...
  9. Replies
    1
    Views
    921

    Re: How to copy global memory to local memory

    I want to add an explanation about the kernel algorithm, the number of thread will be equal to the number of row of array "a" and each thread like pike-up a row and work on the element of that row,...
  10. Replies
    1
    Views
    921

    How to copy global memory to local memory

    Hello,
    I wrote an algorithm and I want to benefit from the local memory concept, I have 2 array, array a[row][col] and C[col], and I do maths on them, and I put below the needed part to explain how...
  11. Replies
    1
    Views
    790

    Re: Problem in the kernel output!!

    I solved the problem, the problem not with the kernel, it was with setting the buffer size for array "a", since it should be "row*col", and I just made the size as "col" only, :smile:
  12. Replies
    1
    Views
    790

    Problem in the kernel output!!

    please see this kernel and correspond output, when I execute this kernel it will work for the first thread and the other will give a wrong output, so any one can help me to figure out what is the...
  13. Replies
    5
    Views
    1,784

    two level of parallel

    I am confuse with a problem, I want to know if we can do the following:

    I have an algorithm and it should run in parallel:
    if we have and "array a[][]" , and for each element in this array it...
Results 1 to 13 of 13