parallel-programming

Parallel computing terms book recommendation

yes, I saw the related questions I'm looking for a book which explains the fundaments of parallel computing: basic terms, types of paralellism, but also (can be several books actually, I don't mind) explains how for example, one could go about connecting (software and hardware-wise) 24 pc workstations in view of running some numeric mod...

Parallel Programming application

Hello, I am trying to find an application used by any company which uses parallel programing and the difference in performance they noticed between using sequential and parallel computations. Please could any one tell me a website or a list of papers which talk about such thing. Hani Almousli... ...

Why do books on concurrent programming always ignore data parallelism?

There has been a significant shift towards data-parallel programming via systems like OpenCL and CUDA over the last few years, and yet books published even within the last six months never even mention the topic of data-parallel programming. It's not suitable for every problem, but it seems that there is a significant gap here that isn'...

How IIS requests are parallelized using COMET?

I have an ASP.NET MVC 2 Beta application where I need to block incoming requests for a specific action until I have some data available to return or just release the request after 30 seconds with no new data available. In order to accomplish this, I'm using AutoResetEvent.WaitOne(30000); The big issue is that IIS does not seem to be ac...

How to add correct cancellation when downloading a file with the example in the samples of the new Parallel Programming library

Hello everybody, I have downloaded the last samples of the Parallel Programming team, and I don't succeed in adding correctly the possibility to cancel the download of a file. Here is the code I ended to have: var wreq = (HttpWebRequest)WebRequest.Create(uri); // Fire start event DownloadStarted(this, new DownloadStartedEventArgs(rem...

Drawing triangles with CUDA

I'm writing my own graphics library (yep, its homework:) and use cuda to do all rendering and calculations fast. I have problem with drawing filled triangles. I wrote it such a way that one process draw one triangle. It works pretty fine when there are a lot of small triangles on the scene, but it breaks performance totally when triangl...

Trying to know why the OpenMP code does not parallelise

I just started learning how to use OpenMP. I am trying to figure out why the following code does not run in parallel with Visual Studio 2008. It compiles and runs fine. However it uses only one core on my quad core machine. This is part of the code that I am trying to port to a MATLAB mex function. Any pointer is appreciated. #pragma om...

openMP question

hello all, is it suitable parallelizing loops containing function call(s). or is it much more convenient parallelization of loops which are doing basic operation inside. for example is it suitable putting parallelization directives as below ? main(){ .. #omp paralel .. for (i=0;i<100;i++){ a[i] = foo(&datatype , ...); ... } .. } int ...

Does it consume CPU when reading a large file

Suppose I want to do following opeartions on my 2-core machine: Read a very large file Compute Does the file reading operation need to consume 1 core? Previously I just create 2 threads, one to read file and one to compute? Should I create an additional thread to do compute? Thanks. Edit Thanks guys, yea, we should always conside...

Performing functions for multiple input values

Hi, I am designing a structural optimisation program as part of my degree, and I need to run a sequence of optimisation code for a number of different structural sections. For each section, a number of different imposed loads will be defined and then the optimum form generated in response to this loading. In programming terms, I nee...

Haskell speculative parallel execution

I am thinking about exploiting parallelism for one problem I am trying to solve. The problem is roughly this: given input (sequence of points) find a best output (biggest triangle composed from these points, longest line etc.). There are 3 different 'shapes' to be found in the sequence of points, however I am interested only in the one w...

help me understand cuda

i am having some troubles understanding threads in NVIDIA gpu architecture with cuda. please could anybody clarify these info: an 8800 gpu has 16 SMs with 8 SPs each. so we have 128 SPs. i was viewing stanford's video presentation and it was saying that every SP is capable of running 96 threads cuncurrently. does this mean that it (SP)...

Student Project Ideas: Parallel Computing

I've been given a free choice of final project for my software development course, I'm quite interested in attempting a distributed programming task, My initial thought was to create a simple photon scattering renderer but I don't think I'd get far past rendering platonic solids and metaballs. Any suggestions, or interesting areas I mig...

What are my options for doing multithreaded/concurrent programming in Python?

I'm writing a simple site spider and I've decided to take this opportunity to learn something new in concurrent programming in Python. Instead of using threads and a queue, I decided to try something else, but I don't know what would suit me. I have heard about Stackless, Celery, Twisted, Tornado, and other things. I don't want to have ...

Parallel programming in C#

I'm interested in learning about parallel programming in C#.NET (not like everything there is to know, but the basics and maybe some good-practices), therefore I've decided to reprogram an old program of mine which is called ImageSyncer. ImageSyncer is a really simple program, all it does is to scan trough a folder and find all files end...

Is parallel programming == multithread programming ?

Is parallel programming == multithread programming? ...

Parallel programming on a Quad-Core and a VM?

I'm thinking of slowly picking up Parallel Programming. I've seen people use clusters with OpenMPI installed to learn this stuff. I do not have access to a cluster but have a Quad-Core machine. Will I be able to experience any benefit here? Also, if I'm running linux inside a Virtual machine, does it make sense in using OpenMPI inside a ...

Corresponding Receive Routine of MPI_Bcast

Hello Guys, What would be the corresponding MPI receive routine of the broadcast routine, MPI_Bcast. Namely, one processor broadcasts a message to a group, let's say all world, how I can have the message in these processes? Thank you. Regards SRec ...

Cleanly handling AsyncTimeout on ASP.NET Async Page

According to this article The Begin Event Handler is Always Invoked The second impliciation of AsyncTimeout that I had not really internalized until recently is that the begin event handler for a registered async task is always invoked, even if the page has timed out before ASP.NET gets around to starting that task...

Is LLVM suitable for parallel languages?

What properties of LLVM makes it good choice for implementation of (parallel, concurrent, distributed)-oriented language, what makes it bad? ...