Search:

Type: Posts; User: deNorma

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,472

    Ternary operation for vector (select)

    I want to know how to use the ternary operator for vector in openCL. I think it should be 'select', in the specification:

    http://www.khronos.org/registry/cl/specs/opencl-1.1.pdf

    page 219
    ...
  2. Re: how to implement serial calculation in kernel code?

    that's the synchronization within a workgroup/block.

    but if you need to do it on multiple workgroups, then that is not right. for synchronization among blocks I will return the control to cpu....
  3. Re: how to implement serial calculation in kernel code?

    when you do this serial calculation, does every one has to wait the serial result to proceed?

    of course you can use one thread to calculate. and if the result is different, it just means your gpu...
  4. Re: how to implement serial calculation in kernel code?

    then why not just use cpu to do the work?
  5. Re: Memory error occurs after releasing a memory object

    why you have to release the memory object?

    just leave it there. copy the data from A to m1, then update m1 to B's argument. then repeat
  6. Internal error: Link failed. on ati stream 2.01

    Hi,

    My code has a problem when building program using ati stream 2.01 on HD5870. The code was good for v2.0 version.

    error info is like:
    ----
    Internal error: Link failed.
    Make sure the...
  7. Replies
    6
    Views
    6,339

    Re: opencl API : include headers to .cl file

    'it's working with my code too because I have errors returned from my .cl file'

    this does not mean your code is good(you still can't run your code). 'you got error for .cl file' != you...
  8. Replies
    6
    Views
    6,339

    Re: opencl API : include headers to .cl file

    I am not familiar with the class you use here for reading the files. But there must be something wrong when you do that. So what about, you just try to read a very simple .cl file. just to do some...
  9. Replies
    3
    Views
    2,014

    Re: Sub-compute units

    I dont think you need to worry about this. Have a look at 'warps' in nvidia.
  10. Replies
    6
    Views
    6,339

    Re: opencl API : include headers to .cl file

    when you use clCreateProgramWithSource, you transfer your .cl file. You can do the same thing for .h file, assuming your .h is for .cl file. Just transfer them together.
  11. Replies
    1
    Views
    1,821

    multiple kernel for single device(1 gpu)

    Hi,
    my code need to run multiple kernel repeatedly, in order. what I did was,
    1.
    when clCreateCommandQueue, I set 'cl_command_queue_properties properties' as '0', or...
  12. Replies
    5
    Views
    5,180

    Re: Hello world program - compilation error

    g++ yourfile.cpp -L/yourlib -I/yourinc -lOpenCL
  13. Replies
    2
    Views
    2,181

    Re: can't re-use shared memory in ATI 5870?

    Thanks dbs2.

    actually, I have typo in my original post. the barrier is between those two lines, which is the same as what you mean.

    btw, I still can't solve this wired thing yet.

    but thanks...
  14. Thread: Data Feedback

    by deNorma
    Replies
    5
    Views
    2,439

    Re: Data Feedback

    copy it back to host
  15. Replies
    2
    Views
    2,181

    can't re-use shared memory in ATI 5870?

    I know this is ridiculous and I believe I did something wrong, because I can't google anything related on internet. But still, I just can't re-use a shared memory arry in ati 5870, while the same...
  16. Replies
    1
    Views
    2,087

    openCL and cuda on the same GPU (GTX260)

    Hi there,

    I have written an openCL, and also a cuda version for my cfd code. I used the same algorithm for both of them; and same optimization level, I guess... since I didn't add anything else...
  17. Replies
    2
    Views
    2,382

    Re: -O0 and -O3 speed difference

    thanks! yes, I forgot that part...
  18. Replies
    2
    Views
    2,382

    -O0 and -O3 speed difference

    hi, I found there is almost no speed difference for -O3 and -O0 for my openCL code. is this normal? thanks!
  19. Replies
    3
    Views
    3,356

    Re: how to run openCL on one CPU?

    linux, fedora 10
  20. Replies
    3
    Views
    3,356

    how to run openCL on one CPU?

    hi all, very simple question, just want to know how to run openCL on just one CPU.

    say, my machine is multi-core, and when I set CL_DEVICE_TYPE_CPU in clCreateContextFromType, I can see the openCL...
  21. Replies
    2
    Views
    2,352

    Re: have problem finding maximum in a work-group

    Kemkin, thanks for your reply. yes, there are some problems with the data before. This finding maximum code is correct.

    N
  22. Replies
    2
    Views
    2,352

    have problem finding maximum in a work-group

    Greetings,

    I have probelm when trying to find the max value in a work-group. Say, every work-item has a value 'thread_c', and I want to find the biggest one within work-group and then use that...
Results 1 to 22 of 27
Page 1 of 2 1 2