1)
Message boards :
Bug tracker :
AMD mesa OpenCL kernel compilation error, fix suggestion
(Message 647)
Posted 21 Oct 2017 by Tomáš Brada Post: I confirmed that the application works on Mesa (GIT 73749caf0e) OpenCL 1.1 implementation. The reason why I used mesa is that the closed-source AMDGPUPRO kernel module was failing for me and I thought that the OpenCL component requires it. Turns out, AMD closed-source implementation of OpenCL can work without rest of amdgpupro. Amdgpupro is OpenCL 1.2 and I confirmed that it works too. |
2)
Message boards :
Bug tracker :
AMD mesa OpenCL kernel compilation error, fix suggestion
(Message 646)
Posted 20 Oct 2017 by Tomáš Brada Post: Yes I am aware. I had mesa-git and opencl-nvida installed. I uninstalled this packages and upgraded my system. Now I am trying with stable mesa and opencl-amd. |
3)
Message boards :
Bug tracker :
AMD mesa OpenCL kernel compilation error, fix suggestion
(Message 642)
Posted 19 Oct 2017 by Tomáš Brada Post: Hello, I am getting computational errors on my system. I have AMD RX 560 driven by the opensource radeon drivers. The error is: input.cl:17:1: error: OpenCL version 1.1 does not support the 'static' storage class specifierI found the error in this issue which also includes a solution. Apparently including a pragma on top of the opencl file enables the static class and solves the error: #pragma OPENCL EXTENSION cl_clang_storage_class_specifiers : enable I have tried to edit the opencl code in the binary, but there is checksum making the app fail immediately. |
©2023 Sergei Chernykh