[clfft] 30/32: removing some unneeded comments

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Apr 26 08:34:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository clfft.

commit 237f0d00a57205bfc152b9365c26860aa57292b4
Author: bragadeesh <bragadeesh.natarajan at amd>
Date:   Wed Apr 13 12:05:30 2016 -0700

    removing some unneeded comments
---
 src/library/action.transpose.cpp | 5 +----
 src/library/plan.cpp             | 6 +++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/library/action.transpose.cpp b/src/library/action.transpose.cpp
index 4f86859..aa7dc92 100644
--- a/src/library/action.transpose.cpp
+++ b/src/library/action.transpose.cpp
@@ -223,7 +223,6 @@ clfftStatus FFTGeneratedTransposeNonSquareAction::generateKernel(FFTRepo& fftRep
 			}
 		}
         OPENCL_V(clfft_transpose_generator::genTransposeKernelLeadingDimensionBatched(this->signature, programCode, lwSize, reShapeFactor), _T("genTransposeKernel() failed!"));
-		//std::cout << programCode << std::endl;//TIMMY
     }
 	else if (this->signature.nonSquareKernelType == NON_SQUARE_TRANS_TRANSPOSE_BATCHED)
 	{
@@ -247,7 +246,6 @@ clfftStatus FFTGeneratedTransposeNonSquareAction::generateKernel(FFTRepo& fftRep
 			}
 		}
 		OPENCL_V(clfft_transpose_generator::genTransposeKernelBatched(this->signature, programCode, lwSize, reShapeFactor), _T("genTransposeKernel() failed!"));
-		//std::cout << programCode << std::endl;//TIMMY
 	}
     else
     {
@@ -283,7 +281,6 @@ clfftStatus FFTGeneratedTransposeNonSquareAction::generateKernel(FFTRepo& fftRep
 		*/
 		//general swap kernel takes care of all ratio
 		OPENCL_V(clfft_transpose_generator::genSwapKernelGeneral(this->signature, programCode, kernelFuncName, lwSize, reShapeFactor), _T("genSwapKernel() failed!"));
-		//std::cout << programCode << std::endl;//TIMMY
     }
 
     cl_int status = CL_SUCCESS;
@@ -720,7 +717,7 @@ clfftStatus FFTGeneratedTransposeSquareAction::generateKernel(FFTRepo& fftRepo,
 	{
 		OPENCL_V(fftRepo.setProgramEntryPoints(Transpose_SQUARE, this->getSignatureData(), "transpose_square", "transpose_square", Device, QueueContext), _T("fftRepo.setProgramEntryPoint() failed!"));
 	}
-    //std::cout << programCode << std::endl;//TIMMY
+
 	return CLFFT_SUCCESS;
 }
 
diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index 9d4c032..fe780df 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -695,7 +695,7 @@ clfftStatus	clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
 						}
 						else
 						{
-							int packDataSize = 1;
+							size_t packDataSize = 1;
 							for (size_t i = 0; i < u; i++)
 								packDataSize *= fftPlan->length[i];
 							if (fftPlan->inStride[u] == packDataSize)
@@ -1006,10 +1006,10 @@ clfftStatus	clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
 							the iDist should decrease accordingly. Push back to length will cause a 3D transpose
 							*/
 							trans3Plan->batchsize = trans3Plan->batchsize * fftPlan->length[index];
-							//trans3Plan->iDist = trans3Plan->iDist / fftPlan->length[index];//silly Timmy
+							//trans3Plan->iDist = trans3Plan->iDist / fftPlan->length[index];
 							//trans3Plan->inStride.push_back(trans3Plan->iDist);
 							trans3Plan->inStride.push_back(fftPlan->inStride[index]);
-							//trans3Plan->iDist *= fftPlan->length[index];//silly Timmy
+							//trans3Plan->iDist *= fftPlan->length[index];
 							trans3Plan->outStride.push_back(fftPlan->outStride[index]);
 						}
 					}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list