Search:

Type: Posts; User: jprice

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Why have you declared the `index` variable as...

    Why have you declared the `index` variable as `__local`? This means that the variable will be shared across all work-items in the same work-group, and therefore the work-items will be overwriting...
  2. Replies
    3
    Views
    462

    The latest version of the C++ bindings...

    The latest version of the C++ bindings (`cl2.hpp`) deprecates the `STRING_CLASS` and `VECTOR_CLASS` mechanisms, and replaces them with aliasing inside the `cl` namespace. Here's the description from...
  3. As posted here...

    As posted here:
  4. Replies
    28
    Views
    13,851

    Sub-group independent forward progress has been...

    Sub-group independent forward progress has been moved into the core specification. You can check whether a device supports this feature by using the CL_DEVICE_SUB_GROUP_INDEPENDENT _FORWARD_PROGRESS...
  5. We would have downloaded it directly from the...

    We would have downloaded it directly from the Intel website. This would have been about 18 months ago, so there may have been revisions to that driver version since then.

    If you can recreate the...
  6. This is running on RHEL 6.3. I'm sure this is...

    This is running on RHEL 6.3. I'm sure this is 14.2 - this machine has a Xeon Phi in it, and 14.2 is the latest release that supports it. The specific driver version (from CL_DRIVER_VERSION) is...
  7. I'm not sure what you're asking now. This was a...

    I'm not sure what you're asking now. This was a bug in pocl v0.10 (which is the version that you said you were using), but it has now been fixed, and pocl v0.12 is handling this fine. Have you tried...
  8. pocl v0.12-pre is working fine, and Valgrind...

    pocl v0.12-pre is working fine, and Valgrind doesn't indicate any issues (with this function).

    Valgrind also doesn't indicate any issues with this function for the Intel 14.2 runtime either.
    ...
  9. I used pocl built from version control, so...

    I used pocl built from version control, so v0.12-pre. I've just tried v0.10, and I got a blank value from getPlatformVendor. It didn't crash, but valgrind showed some dodgy stuff happening inside...
  10. I've just tried the `getPlatformVendor` function...

    I've just tried the `getPlatformVendor` function from the ASL package on a few different platforms (including Intel and pocl), and it is working fine for me I'm afraid.
  11. How was the context created (i.e. which...

    How was the context created (i.e. which constructor)? Did you manually pass any context properties in?

    What does the getContext() function look like?
  12. Replies
    4
    Views
    1,206

    Yes, unfortunately NVIDIA currently do not...

    Yes, unfortunately NVIDIA currently do not support SPIR consumption. This may change in the future as the new SPIR-V specification is now a core feature in OpenCL 2.1.

    I believe both Intel and AMD...
  13. Replies
    4
    Views
    1,206

    What is the platform/device that you're...

    What is the platform/device that you're targeting? Not all support SPIR consumption at present, so you'd need to check the platform/device extensions list for cl_khr_spir.
  14. Replies
    2
    Views
    1,344

    The OpenCL 2.0 C++ bindings are now available in...

    The OpenCL 2.0 C++ bindings are now available in the khronos registry (cl2.hpp):
    https://www.khronos.org/registry/cl/
  15. The OpenCL 2.0 C++ bindings are now available in...

    The OpenCL 2.0 C++ bindings are now available in the khronos registry (cl2.hpp):
    https://www.khronos.org/registry/cl/
  16. Replies
    5
    Views
    1,063

    The simple fix for this is to wrap any system...

    The simple fix for this is to wrap any system includes needed by the host in #ifndef __OPENCL_VERSION__ guards, e.g.:


    /* Header file shared by host and device */

    #ifndef __OPENCL_VERSION__...
  17. An updated version of the C++ bindings with...

    An updated version of the C++ bindings with support for OpenCL 2.0 will be released in the near future.
  18. If you are mapping a buffer to initialise values...

    If you are mapping a buffer to initialise values on the host which are then used by a kernel on the device, you must un-map the buffer before enqueueing the kernel that uses it. This is all the...
  19. The getBuildInfo() method will return a C++...

    The getBuildInfo() method will return a C++ string for CL_PROGRAM_BUILD_LOG, whereas your fprintf format expects a C string. You can use the c_str() method to print the log:


    fprintf(fp, "Build...
  20. Replies
    9
    Views
    1,210

    The error code -11 corresponds to...

    The error code -11 corresponds to CL_BUILD_PROGRAM_FAILURE, which indicates that the kernel code failed to compile. To see the compilation errors, you need to request the build log:


    try
    {
    ...
  21. Replies
    9
    Views
    1,210

    Yes, I've just tried this and it works (with the...

    Yes, I've just tried this and it works (with the change that I suggested).

    You can check whether the issue is with the context creation by explicitly querying the number of devices in the...
  22. Replies
    9
    Views
    1,210

    You may need to explicitly cast the platform to a...

    You may need to explicitly cast the platform to a cl_context_properties type:


    cl_context_properties properties[3] = {CL_CONTEXT_PLATFORM, (cl_context_properties)platform, 0};
  23. Replies
    9
    Views
    1,210

    That usage of clCreateContextFromType isn't...

    That usage of clCreateContextFromType isn't guaranteed to work on systems that use the OpenCL ICD model (which is most of them, these days). Instead, you should be explicit about which platform you...
  24. Replies
    2
    Views
    1,344

    Yes - there will be an updated version of the...

    Yes - there will be an updated version of the OpenCL C++ bindings with support for OpenCL 2.0 available in the not-too-distant future.
  25. Replies
    8
    Views
    968

    This is a bug in the Khronos OpenCL headers. We...

    This is a bug in the Khronos OpenCL headers. We have this on our internal bug tracking system, so it should be fixed in a future release of the headers.

    In the meantime, you could produce your own...
Results 1 to 25 of 59
Page 1 of 3 1 2 3
Proudly hosted by Digital Ocean