GPGPU work and Identifiers

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 19 13:20:38 PDT 2016


On Sunday, 19 June 2016 at 18:23:06 UTC, Jakob Bornecrantz wrote:
> That will be annoying, the LDC that works with SPIR-V wont be 
> able to produce MSVC compatible exes. Lets hope they mainline 
> it soon.

One possible solution for this would be a thin driver executable 
that parses just enough of the command line to detect the target 
triple used, and then forwards to the correct "real" compiler 
executable.

Such a separate driver could then also be used as part of the 
regular distribution to improve the performance on 
memory-constrained all-at-once builds, by freeing all the 
frontend/LLVM memory (i.e., terminating the process) before 
invoking the linker, which can take a substantial amount of 
memory for huge binaries too.

  — David


More information about the Digitalmars-d mailing list