parallel-processing
MPI distribution layer
I used MPI to write a distribution layer. Let say we have n of data sources and k of data consumers. In my approach each of n MPI processes reads data, then distributes it to one (or ma开发者_StackOve[详细]
2023-04-09 08:56 分类:问答Strategies in Scala
Is there an equivalent to Haskell Control.Parallel.Strategies o开发者_Python百科r a way to achieve the same thing?[详细]
2023-04-09 08:49 分类:问答"find" and "ls" with GNU parallel
I\'m trying to use GNU parallel to post a lot of files to a web server. In my directory, I have some files:[详细]
2023-04-09 07:47 分类:问答error return code from pthread_create is 35 error due to many processes,I have used pthread_exit which should kill the thread isn't it?
I have create a pthread_create inside a pthread_create, I have used socket programming, 开发者_如何学运维where I receive a packet and then create a thread which does the writing to the file. When I se[详细]
2023-04-09 06:57 分类:问答how to add percentage completion on parallel nested loops?
for example, i wish I can see 1% ~ 100%, how could I do that? Parallel.For<Dictionary<int, long>>(0, r1, () => new Dictionary<int, long>(), (j, loop, tmpWi开发者_开发技巧nRange)[详细]
2023-04-09 01:09 分类:问答How to optimize the receive loop for thousands of messages in Erlang?
In the chapter \"Programming Multicore CPUs\" of the Programming Erlang book, Joe Armstrong gives a nice example of parallelization of a map function:[详细]
2023-04-09 00:51 分类:问答Using int index where double is expected in C++ AMP retrict(direct3d) code
Googling didn’t help much, has anyone used AMP? In the code snippet below the cast from integer to double (double v = idx.x) leads to a “Failed to create shader” run time error.[详细]
2023-04-08 16:17 分类:问答Faster way to fill a 160x43 byte array from colors of Bitmap class
What\'s the faster way to effectively fill an array of bytes where each byte represents a pixel (black or white: < 125 = black, > 125 = white) from a Bitmap class?[详细]
2023-04-08 15:58 分类:问答Why does my fork/join deadlock?
Consider the following snipped of code, which calculates the size of all paths given. def pathSizes = [][详细]
2023-04-08 09:59 分类:问答Delay in parallel computing
I\'m using parallel.for to launch in many threads a external program. But despite the fact that these are separate threads I need implement sth like delay. E.开发者_JS百科g. 2 threads want to launch t[详细]
2023-04-08 07:38 分类:问答