Search:

Type: Posts; User: o4kareg2

Search: Search took 0.00 seconds.

  1. Re: copying a variable from host memory to device memory

    You can set an integer or a float variable simple as a parameter with setKernelArgs, like you set the pointer to array. However, i noticed, there can be issues if you try to set the byte of char...
  2. Replies
    1
    Views
    1,456

    Re: opencl graphs and data structures

    CPU- like trees and graph on GPU memory are inefficient by meny global memory lookups.
    Typical representation of a graph stucture, like Deterministic automaton, is a lookup table of
    nodes. Look in...
  3. Re: Do i have divergence with (bool)?val1:val2 operator?

    Oh, at this night( IMAO) i have found a nice solution with cheap operations even without addition and multiply:

    You have:



    if(a>b) c = 30
    else if(a<b) c = 35
    else c = 40; //,so by a = b
  4. Do i have divergence with (bool)?val1:val2 operator?

    Hi GPGPU hackers!
    Is that any point to try using (boolean expression) ? val1 : val2
    instead of if... else... , if the ()? operator still does have the same divergence?
  5. Accessing to bytes in array as to short and int values?

    Hi GPGPU hackers!

    In my kernel i try to access to __global unsigned char * array as to short and int values and keep having
    weird results with it, for example



    __global unsigned short...
  6. Replies
    5
    Views
    2,488

    Re: Kernel argument size

    By te way, if i do use the kernel parameters to have a full input array :P does it give adwantages compare to if i d give that to a pointer? Adwantages like faster transfering or something?
  7. Replies
    5
    Views
    2,488

    Re: Kernel argument size

    Fitsr thatk,s i didnt know that since i use parameter with 8 byte max.
    Omgf!
    Kernel parameter can be a pointer to 4 Gib size for 32x Systems and i dont know what big for 64x
    systems. If you dont...
  8. Re: Is there any OpenCL library having Prefix Sum?

    Is it working well?
    Post here if any problems i m interesting in the stuff as well
  9. Re: Is there any OpenCL library having Prefix Sum?

    There are some :D
    Take one:


    /* ============================================================

    Copyright (c) 2009-2010 Advanced Micro Devices, Inc. All rights reserved.

    Redistribution...
  10. Using a single integer value(not a pointer as parameter for?

    Hello GPGPU hackers!

    How to use the normal integer values not a pionter as kernel arguments?
    can someone give here a short example?
  11. Replies
    2
    Views
    1,511

    Re: Cuckoo Hash- Table in GPGPU

    Yes thats the problem, and i m looking for answer. First, it must be done that with no rehash!
    Second, it must be done with 2 kernel : first atomicks to reserve the position of "primekeys", then...
  12. Replies
    6
    Views
    1,576

    Re: I cannot use 16K shared memory in GTX9800

    True, because if insufficied memory, it started to pack variables in global memory, at least there is so in CUDA and in OPENCL is the same i guess. With memory limits people usualy optimize the stuff...
  13. Replies
    1
    Views
    1,171

    128- bit integer atomics Support?

    I need that very mutch for a hash table!
  14. Replies
    6
    Views
    1,576

    Re: I cannot use 16K shared memory in GTX9800

    Dont forget, shared memory is lvl2 cache, so another values, like variables or values from global
    array are cached there. Avoid to be close to memory limit!
  15. Replies
    2
    Views
    1,511

    Cuckoo Hash- Table in GPGPU

    Hallo GPGPU hackers!
    In my supercool Opencl progect i need to store data in a global hash table, but with relative
    small size so it can be copied to shared memory.
    The threads must be able to...
Results 1 to 15 of 16