Search:

Type: Posts; User: grimm

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,635

    Re: Run-time error in clBuildProgram(-11)

    Thanks for the link matrem. So this is no longer necessary/useful for OpenCL 1.1?

    Grimm
  2. Replies
    1
    Views
    3,812

    Re: C++ OpenCL helper object/function

    I changed the code slightly so that I no longer keep the device in a vector array. I think it's a lot cleaner now just change all of the "getDevice()[0]" to "getDevice()" in the example code and it...
  3. Replies
    6
    Views
    4,635

    Re: Run-time error in clBuildProgram(-11)

    Ok, I got it working. I looked into the binding source code and the function needed the device as the first parameter. So I changed my code to the following:


    ifs_program.getBuildInfo(...
  4. Replies
    6
    Views
    4,635

    Re: Run-time error in clBuildProgram(-11)

    Thanks, here is the code snippet of the build:


    // Build the ifs kernel
    std::vector<cl::Device> tempdev;
    cl::Program::Sources fract_source( 1, std::make_pair( fractal.c_str(),
    ...
  5. Replies
    6
    Views
    4,635

    Run-time error in clBuildProgram(-11)

    Currently in my Fedora 13 Linux system I have two Nvidia cards, a 9400GT and a GTX480. I have installed AMD's ati-stream-sdk-v2.2-lnx64 in my home directory. My goal was to get OpenCL programs to...
  6. Thread: PHP and OpenCL

    by grimm
    Replies
    3
    Views
    3,019

    Re: PHP and OpenCL

    Yes, very good idea. :) I'm currently using Ruby-OpenCL bindings and they work great. There are also bindings for Python. I haven't checked for Perl yet, but it might have some too. I'm sure...
  7. Replies
    1
    Views
    3,812

    C++ OpenCL helper object/function

    I'm not sure this is the correct forum, please move if it isn't.

    I have created this C++ helper object and function that I thought might be of use for anyone using the C++ bindings. Basically...
  8. Thread: PHP and OpenCL

    by grimm
    Replies
    3
    Views
    3,019

    Re: PHP and OpenCL

    I did a quick google search for PHP OpenCL bindings but I didn't find anything. You might want to keep checking around and see if someone is working on it. I haven't done any PHP programming in a...
  9. Replies
    7
    Views
    2,764

    Re: Can the GPUs be leaveraged differently

    I'm a OpenCL neophyte so take what I say with a big grain of salt. Besides the obvious that this type of processing would probably run better on a multi core CPU. I'm not sure that GPU's were...
  10. Replies
    4
    Views
    2,412

    Re: Question about the OpenCL Platform

    Excellent! Thanks Matrem, that makes sense. Too bad my programming skills weren't better, although I'm sure someone will come up with something cool eventually. :D

    Grimm
  11. Replies
    4
    Views
    2,412

    Re: Question about the OpenCL Platform

    Ah, ok. So the platform is just a list of the OpenCL compatible device drivers that are installed on the system? Not as powerful as I was envisioning, but it's all good. :) Thanks,

    Grimm
  12. Replies
    4
    Views
    2,412

    Question about the OpenCL Platform

    Is the OpenCL platform eventually going to be used to support multiple hosts? Because I had the platform error in my C++ program I wanted to farther research it and see just exactly what it is. The...
  13. Replies
    99
    Views
    68,559

    Re: OpenCL C++ Bindings

    Looks like you were correct Matrem. :D I just got a response from my bug report, sounds like they need to update their example code.
  14. Replies
    99
    Views
    68,559

    Re: OpenCL C++ Bindings

    Thanks Matrem, but I don't know OpenCL enough to determine that level of a problem. :wink: I did go ahead and put in a bug report about this and another issue I'm having with the bindings. I...
  15. Replies
    99
    Views
    68,559

    Re: OpenCL C++ Bindings

    I'm following the C++ OpenCL bindings 1.0 examples and using the following:

    cl::Context context(CL_DEVICE_TYPE_GPU, 0, NULL, NULL, &err);

    As far as I know, creating the platform first and...
  16. Replies
    99
    Views
    68,559

    Re: OpenCL C++ Bindings

    I'm having some difficulties with the C++ bindings. It's the same issue I was having with the Ruby bindings, when ever I tried to create a new context I would get back a -32 or CL_INVALID_PLATFORM...
  17. Replies
    14
    Views
    10,129

    Re: Beginner question: understanding NDRange

    Thanks Ibbles, now to go fix my code. I must have been lucky then. 8)

    Grimm
  18. Replies
    14
    Views
    10,129

    Re: Beginner question: understanding NDRange

    This is a very useful thread for me. It has helped to settle my thinking on the NDRange values, thanks. I hope that this does not highjack the thread too much but I don't quite understand the...
  19. Replies
    9
    Views
    6,160

    Re: Out of resources problem

    Those are some pretty big loops. :) The cores on your GPU are almost always going to be slower then your CPU. Sounds like you might want to try and break your code into smaller chunks to get better...
  20. Replies
    9
    Views
    6,160

    Re: Out of resources problem

    I have noticed the same issue. I thought that the private memory space was 32 bits on the card, so you would think that you could have loops up to that size? Other ideas I had were that the card...
  21. Replies
    9
    Views
    6,160

    Re: Out of resources problem

    Ok I think I know why it's crashing. I was setting the global_work_size too large (32000) and the card was running out of memory. I have changed the global size to 3200 and increased the number of...
  22. Replies
    9
    Views
    6,160

    Re: Out of resources problem

    Thanks, I will double check my code and make sure that nothing is writing were it shouldn't be. I did change the local_work_size to 32, I had it set to 16 and now it appears to be much better...
  23. Replies
    9
    Views
    6,160

    Out of resources problem

    Hi,

    This is probably a noob question, as I'm new to opencl programming. I'm currently using the ruby bindings and it's working great so far. I'm writing an ifs fractal generator and having some...
Results 1 to 23 of 23