Click here to Skip to main content
15,885,435 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing Windows DataGridViewTool Pin
Danzy8317-Sep-10 4:42
Danzy8317-Sep-10 4:42 
AnswerRe: Using Windows DataGridViewTool [modified] Pin
Cool_Dev17-Sep-10 5:15
Cool_Dev17-Sep-10 5:15 
GeneralRe: Using Windows DataGridViewTool Pin
Danzy8317-Sep-10 5:34
Danzy8317-Sep-10 5:34 
GeneralRe: Using Windows DataGridViewTool Pin
Cool_Dev17-Sep-10 5:38
Cool_Dev17-Sep-10 5:38 
AnswerRe: Using Windows DataGridViewTool Pin
Rolf Kristensen20-Sep-10 10:10
Rolf Kristensen20-Sep-10 10:10 
QuestionNew into parallel programming, looking for advice Pin
Stefan_Lang17-Sep-10 4:20
Stefan_Lang17-Sep-10 4:20 
AnswerRe: New into parallel programming, looking for advice [modified] Pin
Paul Michalik17-Sep-10 22:35
Paul Michalik17-Sep-10 22:35 
GeneralRe: New into parallel programming, looking for advice Pin
Stefan_Lang19-Sep-10 22:37
Stefan_Lang19-Sep-10 22:37 
Thank you for your response.

To clarify, I am actually not exactly new to programming, I already dabbled a bit into it in the 80s, then using the OCCAM programming language. However, what we did was largely academic because we never managed to lay our hands on actual parallel hardware, we just simulated it to see how it works.

The problem I have is that since then I never really had a need to care about multithreading or any other form of parallelism until, some 5 years ago, I joined a team that had a master-slave pattern implemented for remote data base queries. This was the first time I've seen the problem of parallelism molded into an object-oriented pattern, and it was completely different from my first experiences with OCCAM.

What I am trying to accomplish now is two things:

First, get a mechanism into place to deal with massive data paralellism: we have multiple time-consuming numerical algorithms that work on dozens, hundreds, or sometimes thousands of sets of independent data at the same time. Multicore paralleliism like what is supported by the VS parallel libraries would be a first step, but I'd like to be sufficiently abstract to be able to use GPUs instead, if the graphics card supports it.

Second, add 'task-parallelism', as you named it. I'm currently not clear how much this would help, but fear it will take a lot of work for little gain. The areas that I've determined so far which could benefit from this are also in a way data-parallel, although on a much more complex level, and possibly would require some work to prevent race conditions.

From what I've read - confirmed by you're saying - my first goal might be tough to fit into one framework. Anyway, the link you posted looks like it might give me a better idea of that. I'll be content if I can at the very least design an interface that I don't have to completely rewrite once I add in GPU programmming. It's just too much work that depends on this interface, i. e. too much code I need to adapt, to do it twice over. I just want to do that once, and then concentrate on the crunchy bits.
GeneralRe: New into parallel programming, looking for advice Pin
Paul Michalik21-Sep-10 5:15
Paul Michalik21-Sep-10 5:15 
Questiongood programmer Pin
Stephan A.17-Sep-10 4:11
Stephan A.17-Sep-10 4:11 
QuestionRe: good programmer PinPopular
David Crow17-Sep-10 4:19
David Crow17-Sep-10 4:19 
AnswerRe: good programmer Pin
Stephan A.17-Sep-10 4:24
Stephan A.17-Sep-10 4:24 
AnswerRe: good programmer Pin
CPallini17-Sep-10 5:48
mveCPallini17-Sep-10 5:48 
GeneralRe: good programmer Pin
Stephan A.17-Sep-10 23:27
Stephan A.17-Sep-10 23:27 
JokeRe: good programmer Pin
Richard MacCutchan17-Sep-10 7:37
mveRichard MacCutchan17-Sep-10 7:37 
GeneralRe: good programmer Pin
CPallini17-Sep-10 10:25
mveCPallini17-Sep-10 10:25 
GeneralRe: good programmer Pin
AmbiguousName17-Sep-10 22:19
AmbiguousName17-Sep-10 22:19 
AnswerRe: good programmer Pin
Emilio Garavaglia18-Sep-10 21:01
Emilio Garavaglia18-Sep-10 21:01 
QuestionLoad balance problem Pin
yu-jian16-Sep-10 16:30
yu-jian16-Sep-10 16:30 
AnswerRe: Load balance problem Pin
Garth J Lancaster16-Sep-10 23:59
professionalGarth J Lancaster16-Sep-10 23:59 
QuestionOLEDB CAccessor with CMultipleResults what am I doing wrong. Pin
Spawn@Melmac16-Sep-10 12:35
Spawn@Melmac16-Sep-10 12:35 
Questiongetting names of the lines in TAPI?? Pin
AmbiguousName16-Sep-10 7:53
AmbiguousName16-Sep-10 7:53 
QuestionRe: getting names of the lines in TAPI?? Pin
David Crow16-Sep-10 10:39
David Crow16-Sep-10 10:39 
QuestionTerminating Threads! [modified] Pin
Caslen16-Sep-10 3:21
Caslen16-Sep-10 3:21 
AnswerRe: Terminating Threads! Pin
Cool_Dev16-Sep-10 5:26
Cool_Dev16-Sep-10 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.