On Saturday, 3 June 2017 at 14:12:28 UTC, David Nadlinger wrote:
On Saturday, 3 June 2017 at 12:13:41 UTC, Nicholas Wilson wrote:
Alas no. __attribute__((target(...)) works because it targeting different targets of the _same_ backend, this targets different backends.

But surely you could just take the buffer with the object code emitted by the compute target backend and emit it as constant global data into the host llvm::Module?

 — David

Good idea, name of global needs to be known in advance though.

Reply via email to