From: couturie Date: Sat, 11 May 2013 08:36:43 +0000 (+0200) Subject: new X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/commitdiff_plain/a60840091cd318f2c8e530740dd7940fc393e898?ds=inline new --- diff --git a/BookGPU/Chapters/chapter16/ch16.tex b/BookGPU/Chapters/chapter16/ch16.tex index bfa5d6c..e7ba3ba 100644 --- a/BookGPU/Chapters/chapter16/ch16.tex +++ b/BookGPU/Chapters/chapter16/ch16.tex @@ -1,11 +1,9 @@ -\chapterauthor{X.-X. Liu}{Dept. Electrical Engineering, - University of California, Riverside, CA 92521} -\chapterauthor{S. X.-D. Tan}{Dept. Electrical Engineering, - University of California, Riverside, CA 92521} -\chapterauthor{H. Wang}{Univ. of Electronics Science and Technology of China, +\chapterauthor{Xuexin Liu, Sheldon Xiang-Dong Tan}{Dept. Electrical Engineering, + University of California, Riverside, CA 92521, USA} +%\chapterauthor{Sheldon Xiang-Dong Tan}{Dept. Electrical Engineering, University of California, Riverside, CA 92521} +\chapterauthor{Hai Wang}{Univ. of Electronics Science and Technology of China, Chengdu, Sichuan, China} -\chapterauthor{H. Yu}{School of Electrical \& Electronic Engineering, - Nanyang Technological University, Singapore} +\chapterauthor{Hao Yu}{School of Electrical \& Electronic Engineering, Nanyang Technological University, Singapore} % \thanks{ % This research was supported in part by NSF grants under diff --git a/BookGPU/Chapters/chapter17/ch17.tex b/BookGPU/Chapters/chapter17/ch17.tex index 7576284..d6e3a31 100755 --- a/BookGPU/Chapters/chapter17/ch17.tex +++ b/BookGPU/Chapters/chapter17/ch17.tex @@ -374,6 +374,7 @@ the total numbers of access needed to updated those populations. %\lstinputlisting[language=C,caption=Collembola OpenCL %kernels,label=fig:collem_kernels]{Chapters/chapter17/code/collem_kernels.cl} +\pagebreak \lstinputlisting[caption=Collembola OpenCL Diffusion kernel,label=ch17:listing:collembola-diffuse]{Chapters/chapter17/code/collem_kernel_diffuse.cl} The reproduction, diffusion and culling steps are implemented on GPU @@ -646,6 +647,7 @@ implementation by enforcing a quasi-sequential execution. It is necessary, in the case of MIOR as well as for other ABM, to ensure that each work-item is not too constrained in its execution. +\pagebreak \lstinputlisting[caption=Main MIOR kernel,label=ch17:listing:mior_kernels]{Chapters/chapter17/code/mior_kernels.cl} From the sequential algorithm 1 where all the agents share the same