Changes between Version 29 and Version 30 of AppMultiThread
- Timestamp:
- Apr 14, 2011, 5:08:16 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AppMultiThread
v29 v30 1 = Multi -threadapps =1 = Multicore apps = 2 2 3 3 The average number of cores per PC will increase over the next few years, … … 11 11 * You want to reduce the turnaround time of your jobs (either because of human factors, or to reduce server occupancy). 12 12 13 You may be able to use Open MP, or languages like Titanium or Cilk,13 You may be able to use OpenCL, MPI, OpenMP, or languages like Titanium or Cilk, 14 14 or libraries of multi-threaded numerical "kernels", to develop a multi-threaded app. 15 15 16 16 == Initialization == 17 17 18 Use [BasicApi#init boinc_init_parallel()] to initialize. 18 Depending on whether your application uses multiple threads, 19 multiple processes, or both, 20 you will need to call 21 Use [BasicApi#init the appropriate initialization function]. 19 22 20 23 == Thread priorities == … … 34 37 and setThreadPriority() is then called by each worker thread. 35 38 36 == Deploying a multi -threadedapp version ==39 == Deploying a multicore app version == 37 40 38 41 BOINC uses the [AppPlan application planning] mechanism to 39 coordinate the scheduling of multi -threadedapplications.42 coordinate the scheduling of multicore applications. 40 43 41 Suppose you've developed a multi -threadedprogram,44 Suppose you've developed a multicore program, 42 45 and that it achieves a linear speedup on up to 64 processors, and no additional speedup beyond that. 43 46 To deploy it: