GPGPU progess

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Sat Jun 3 16:13:09 PDT 2017


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.


More information about the Digitalmars-d mailing list