Hello,
(It is now 29 september 2015)
As promised here is Skybuck's Parallel Universal Code demonstration program.
This posting contains a Delphi and C/C++ version for you to learn from.
(I was kinda thinking of adding some kind of case statement/array and out of
order execution/randomization
Also here is test set 2 to test input values:
// input test 2, c version
a1 = 1; a2 = 0; a3 = 0; a4 = 1;
b1 = 1; b2 = 1; b3 = 0;
c1 = 1;
d1 = 1; d2 = 1; d3 = 0; d4 = 0; d5 = 1; d6 = 0;
Bye,
Skybuck.
--
https://mail.python.org/mailman/listinfo/python-list
Here is the C version of the example in case your Delphi-to-C skills are not
so great or you lazy lol =D:
// ParallelDecodingCVersion.cpp : Defines the entry point for the console
application.
//
#include "stdafx.h"
// Begin of Dummy Decoder Example
const int MaxProcessorCount = 4;
int _tm
The example may be modified as much as needed.
For now my solution needs a little reading pad to avoid costly mods or
branches or whatever.
I think this is a nice speedy solution, so code may be modified as follows:
const
MaxProcessorCount = 4;
var
// information stream, input
Stream : array[
Just to be clear on this, the code you have to write doesn't need to be
truely parallel.
It must be parallel in potential, so it should be able to execute
independenlty from each other and out of order.
Bye,
Skybuck.
--
https://mail.python.org/mailman/listinfo/python-list
Or point your newsgroup reader to newsgroup: comp.arch
Then see thread/topic: "Parallel decoding lesson for you" by Skybuck.
Bye,
Skybuck.
--
https://mail.python.org/mailman/listinfo/python-list
Since more people might be interested in this I will re-post this a second
time to include more newsgroups... those two threads will need to be
followed if all responses are to be seen ;)
Here is your dummy decoder example:
Let's turn this into a somewhat of a contest and ofcourse also teachin