Dcompute OpenCL problem: invalidKernelName

unDEFER undefer at gmail.com
Mon May 29 16:50:54 UTC 2023


On Monday, 29 May 2023 at 14:41:59 UTC, Nicholas Wilson wrote:

> That is very strange indeed. I suspect LLVM might be to blame 
> here, (e.g. 
> https://github.com/ldc-developers/ldc/blob/89cbc4cceb77cfb58419a117d06aa704afa7f6d1/gen/abi/x86.cpp#L65 for other cases where we need to force LLVM to do things properly) and we simply haven't taken that into account.
>
> Could you try with an older version of LDC, one released 
> against a prior release of LLVM and see if you still get the 
> same behaviour?

Thank you, Nicholas! Seems I have found commit in LLVM - SPIR V 
translator which broke it.

https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/85815e725ce5bdc970b812b4bbff73d4b2a44046

I'm going to compile 2 versions before and after this commit to 
check.


More information about the Digitalmars-d mailing list