X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/book_gpu.git/blobdiff_plain/1a01129f963257afbf1ca4effbb4e6e1f378cefa..a60840091cd318f2c8e530740dd7940fc393e898:/BookGPU/Chapters/chapter11/code3.cu

diff --git a/BookGPU/Chapters/chapter11/code3.cu b/BookGPU/Chapters/chapter11/code3.cu
index fa658eb..5da77e6 100644
--- a/BookGPU/Chapters/chapter11/code3.cu
+++ b/BookGPU/Chapters/chapter11/code3.cu
@@ -1,5 +1,5 @@
 template<typename T>
-__device__ void Bisection_device(T z, T* t, int mi, int ma,  int* l)
+__device__ void Bisection_device(T z, T* t, int mi,int ma,int* l)
 {
   int i; ma--;
   while(1) {
@@ -11,8 +11,9 @@ __device__ void Bisection_device(T z, T* t, int mi, int ma,  int* l)
   *l = mi-1;
 }
 
-/* Kernel to evaluates monotone spline for a sequence of query points residing in the array z of size m
-*/
+// Kernel to evaluate monotone spline for a sequence of query points 
+// residing in the array z of size m
+
 template<typename Tx, typename Ty>	
 __global__ void d_MonSplineValue(Tx* z, int K, double* t, double * alpha, double * beta, double * gamma, int T, Ty *value)
 {