Using shared memory and thread
bioinfornatics
bioinfornatics at fedoraproject.org
Tue Nov 5 00:04:05 UTC 2019
On Monday, 4 November 2019 at 22:19:29 UTC, bioinfornatics wrote:
> On Monday, 4 November 2019 at 21:53:45 UTC, bioinfornatics
> wrote:
>> On Monday, 4 November 2019 at 19:53:29 UTC, bioinfornatics
>> wrote:
>>> Dear,
>>>
>>> I would like to put a buffer `shared(char[])` into a shared
>>> memory ( L2 cache ) and provide a start and end index to
>>> multiple thread in order to perform computation on a piece of
>>> original buffer.
>>>
>>> [...]
>>
>> One image reveals more than a thousand words, see my picture
>> :-)
>> -> http://pix.toile-libre.org/?img=1572906675.png
>
> oups got a problem with the alpha layer:
> -> http://pix.toile-libre.org/?img=1572908302.png
here my (not working) snippet code:
-> https://run.dlang.io/gist/75429dcb8612e00635f7d53aabc4776f
the example do not meet exactly the spec and he do not compile.
More information about the Digitalmars-d-learn
mailing list