Closed stylemistake closed 5 years ago
I haven't tested the kernel with the open source Radeon driver, though it's supposed to work fine as long as the driver conforms to the OpenCL specification. In this particular case, it's a bug of your OpenCL compiler because 'static __constant' is a valid specifier: https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/storageQualifiers.html
You can remove these 'static' ones from the kernel if your compiler insists though.
Removing static
helps, but mining speed becomes very slow (5x slower compared to neoscrypt on sgminer). Not sure if that is because of static
removal.
The open-source Mesa drivers only support OpenCL 1.1, but you can enable storage-class qualifiers by using the cl_clang_storage_class_specifiers
extension.
See for example ethereum-mining/ethminer#144
It compiles all right, but when running, I get this error:
It only happens on Neoscrypt algo, other algos work fine.