Announcement

Collapse
No announcement yet.

OpenCL C++ / OpenCL 2.2 Support Begins Its Journey To Mainline LLVM Clang

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by lostdistance View Post

    Running clinfo against amdgpu-pro-17.50 on my AMD A10-7800 Kaveri does indicate image support:

    Code:
    Number of platforms 1
    Platform Name AMD Accelerated Parallel Processing
    Platform Vendor Advanced Micro Devices, Inc.
    Platform Version OpenCL 2.1 AMD-APP (2527.3)
    Platform Profile FULL_PROFILE
    Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
    Platform Host timer resolution <gatherPlatformInfo:6: get CL_PLATFORM_HOST_TIMER_RESOLUTION : error -30>
    Platform Extensions function suffix AMD
    
    Platform Name AMD Accelerated Parallel Processing
    Number of devices 1
    Device Name Spectre
    Device Vendor Advanced Micro Devices, Inc.
    Device Vendor ID 0x1002
    Device Version OpenCL 1.2 AMD-APP (2527.3)
    Driver Version 2527.3
    Device OpenCL C Version OpenCL C 1.2
    Device Type GPU
    Device Board Name (AMD) AMD Radeon Graphics
    Device Topology (AMD) PCI-E, 00:01.0
    Device Profile FULL_PROFILE
    Device Available Yes
    
    ...
    
    Image support Yes
    Max number of samplers per kernel 16
    Max size for 1D images from buffer 134217728 pixels
    Max 1D or 2D image array size 2048 images
    Base address alignment for 2D image buffers 256 bytes
    Pitch alignment for 2D image buffers 256 pixels
    Max 2D image size 16384x16384 pixels
    Max 3D image size 2048x2048x2048 pixels
    Max number of read image args 128
    Max number of write image args 8
    Yes, if you're using amdgpu-pro.
    I'm not installing closed source drivers.

    Comment


    • #12
      Originally posted by Berniyh View Post
      I would use it quite often, if only I could on my Kaveri.
      If you're working with pictures (darktable & Co), then OpenCL is an absolute must have.

      But since there is no image support in the amdgpu OpenCL code, it's quite useless …
      Quite honestly, the state of OpenCL support on the slightly older platforms (we're still talking about GCN here) is ridiculous.
      And it doesn't look like that will ever change.
      Same here. From time to time I still have to boot up Windows 10 to run OpenCL tasks.


      And it doesn't look like that will ever change.
      Oh, I very much hope it does. In fact I expect to personally play a role in this. See https://gitlab.com/ranolfi/opensourc...list/issues/85.
      Last edited by Marc.2377; 25 April 2018, 12:06 AM.

      Comment


      • #13
        Originally posted by Berniyh View Post
        Yes, if you're using amdgpu-pro.
        I'm not installing closed source drivers.
        True, that's not optimal, but it's not as bad as it sounds. Most distros have a special packages for installing only the OpenCL driver from amdgpu-pro. It works with vanila linux kernel and is completely independent from the OpenGL / Vulkan drivers. Given how bad clover currently is it's not such a bad compromise until ROCm will be ready.

        Comment


        • #14
          Originally posted by Ansla View Post
          Given how bad clover currently is it's not such a bad compromise until ROCm will be ready.
          I gave up on ROCm for anything older than Polaris …

          Comment

          Working...
          X