ldc nvvm GPU intrinsics good news

kinke noone at nowhere.com
Fri Mar 5 00:48:26 UTC 2021


On Friday, 5 March 2021 at 00:32:03 UTC, Bruce Carneal wrote:
> So what is the right/clean way to get @compute access to these 
> builtins?  Should practitioners do a manual copy edit or is 
> there a better way?

AFAICT, the only challenge is to find a suited signature in D for 
the LLVM intrinsic, incl. some unique name if there's no gcc 
builtin name - as a GitHub PR for that tool, so that all future 
.di files contain these extra intrinsics. To get there, I'd 
suggest adding some temp logging to inspect the records from the 
parsed .td file.


More information about the digitalmars-d-ldc mailing list