Search:

Type: Posts; User: qwer

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Could you, please, tell me where you got your...

    Could you, please, tell me where you got your version of Intel runtime 14.2 with the driver version 1.2.0.82248? The Arch package seem to have 1.2.0.8
    ...
  2. With regards to the Intel runtime - which OS do...

    With regards to the Intel runtime - which OS do you run it on? On ArchLinux version 14.2 has issues... Are you sure you are not using 15.1?

    Thank you.

    - - - Updated - - -

    With regards to the...
  3. Thank you again! So the main question remains:...

    Thank you again!
    So the main question remains: whom to blame?

    Seemingly non-NULL context properties are passed here:
    ...
  4. Thank you for the extra details! Intel runtime...

    Thank you for the extra details!

    Intel runtime version 14.2 is actually problematic - could you, please, check it and the POCL v0.12-pre also with valgrind - I assume they will behave the same...
  5. First of all - thank you! Which versions of Intel...

    First of all - thank you! Which versions of Intel and POCL drivers did you use? POCL v0.10 didn't work for me...
  6. Jprice, thank you very much for responding! ...

    Jprice, thank you very much for responding!

    The context is created in this constructor:
    ...
  7. I forgot to mention that I get the error on...

    I forgot to mention that I get the error on Linux.

    Could somebody, please, run following function to confirm this error?

    string getPlatformVendor(const CommandQueue & queue)
    {...
  8. Line of code that fails with Intel driver, but works with AMD and NVIDIA.

    Hello,

    following line of code (OpenCL C++ bindings 1.2) fails with Intel driver (segmentation fault), but works with AMD and NVIDIA.

    Is this a bug in the Intel driver or the code is not quite...
  9. OpenCL 1.2 C++ bindings with OpenCL 2.0 ? Will it work?

    Hi, please help: I have a program that was written for OpenCL 1.2 with C++ bindings, now I'm forced to upgrade to OpenCL 2.0, but I can't find any cl.hpp shipped with that version...
    1. Do I miss...
  10. Replies
    1
    Views
    1,430

    Private variables compiler optimization?

    Does OpenCL compiler attempts to conduct private variables optimization?

    Lets say there are two private variables A and B. A is used only in lines 3-9 and B only in lines 10-23, so there is no...
  11. Replies
    0
    Views
    1,445

    double with select() function doesn't compile

    Hi, I have following code:
    float a,b,c; select(a,b,c>0.1); that works fine on Tesla C1060 with float and float4 but with double and double4 it gives this error: call to 'select' is ambiguous ......
  12. Re: CL_INVALID_BINARY (-42) while trying to use double on Te

    Solution: I had 2 cards and only one of them had double-precision support, so while creating context one needs only to mention one:

    devices.push_back(context.getInfo<CL_CONTEXT_DEVICES>()[0]);
  13. CL_INVALID_BINARY (-42) while trying to use double on Tesla

    I get CL_INVALID_BINARY (-42) in Program::build() while trying to use double on Tesla C1060, here is the code:

    #pragma OPENCL EXTENSION cl_khr_fp64 : enable

    __kernel void compute(__global...
  14. Thread: MPI like support

    by qwer
    Replies
    1
    Views
    2,464

    MPI like support

    It would be nice to be able to use devices not only locally but also from a remote computer. This way it would be easy to use OpenCL on a cluster (like MPI). Is this feature being discussed by...
  15. Replies
    1
    Views
    1,812

    accessing elements of cl::Buffer?

    Hi,
    is it possible somehow to access elements of cl::Buffer, like

    cl::Buffer buf;

    ...

    cout << buf[4];

    operator[] is not defined for cl::Buffer - but is there any other way?
  16. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    Here is the solution:


    // allocate value in GPU memory
    value = cl::Buffer(context,
    CL_MEM_READ_WRITE,
    sizeof(T) * size,
    ...
  17. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    it doesn't compile, since object_ is protected...



    1) why is it not initialized?! it passed:


    if(status != CL_SUCCESS)
    {
    cerr << "Error: cl::Buffer failed. (" << status...
  18. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    How should I check it? I tried to "cout <<" it, but it refused...

    then I tried to put:


    template <typename T> Vector<T>::Vector(unsigned int size_):
    size(size_),
    {
    cl_int status = 0;
  19. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    yes, its on the same place - in write function...
  20. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    david.garcia - you are correct (as always :) )

    1) I changed those lines to:



    context = cl::Context(CL_DEVICE_TYPE_CPU, cps, NULL, NULL, &status);
    devices =...
  21. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    Is there a way to get more details on the error?
    export CL_LOG_ERRORS=stdout - didn't provide any information in console...
  22. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    I rewrote the Vector::write() and it didn't help :( ... also placing &source[0] instead of dstArray didn't work... Yes, I run initializeCL(); successfully before vec1.write()...


    template...
  23. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    pps: queue initialization seems to pass without error messages, what causes problem is this:


    vec1.write(input);
  24. Replies
    16
    Views
    7,143

    Re: CL_INVALID_COMMAND_QUEUE error

    ps: I forgot to mention that I have initialization routine in main():


    int main()
    {
    if(initializeCL() == 1)
    exit(1);

    ...
    Vector<cl_int> vec1(10);
  25. Replies
    16
    Views
    7,143

    CL_INVALID_COMMAND_QUEUE error

    I get CL_INVALID_COMMAND_QUEUE ( -36 ) while trying to write to buffer. I have no clue why and how to debug this issue. Any ideas? I tried to export CL_LOG_ERRORS=stdout in order to see a more...
Results 1 to 25 of 36
Page 1 of 2 1 2
Proudly hosted by Digital Ocean