[clfft] 12/21: minor bug fix

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Mar 16 13:14:04 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 e99d36dd450ac39eca5defefbce6917d6914e60a
Author: Timmy <timmy.liu at amd.com>
Date:   Tue Mar 1 11:59:39 2016 -0600

    minor bug fix
---
 src/library/action.transpose.h | 2 +-
 src/library/enqueue.cpp        | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/library/action.transpose.h b/src/library/action.transpose.h
index a0a44f0..532707a 100644
--- a/src/library/action.transpose.h
+++ b/src/library/action.transpose.h
@@ -15,7 +15,7 @@
  * ************************************************************************/
 
 #pragma once
-#if !defined( AMD_CLFFT_generator_transpose_H )
+#if !defined( AMD_CLFFT_action_transpose_H )
 #define AMD_CLFFT_action_transpose_H
 #include "private.h"
 #include "repo.h"
diff --git a/src/library/enqueue.cpp b/src/library/enqueue.cpp
index 155115e..1691a16 100644
--- a/src/library/enqueue.cpp
+++ b/src/library/enqueue.cpp
@@ -624,7 +624,6 @@ clfftStatus FFTAction::enqueue(clfftPlanHandle plHandle,
     std::vector< size_t > gWorkSize;
     std::vector< size_t > lWorkSize;
     clfftStatus result = this->getWorkSizes (gWorkSize, lWorkSize);
-	//std::cout << "gWorkSize = " << gWorkSize[0] << " lWorkSize = " << lWorkSize[0] << std::endl;
 
     // TODO:  if getWorkSizes returns CLFFT_INVALID_GLOBAL_WORK_SIZE, that means
     // that this multidimensional input data array is too large to be transformed
@@ -646,7 +645,7 @@ clfftStatus FFTAction::enqueue(clfftPlanHandle plHandle,
     cl_int call_status = clEnqueueNDRangeKernel( *commQueues, kern, static_cast< cl_uint >( gWorkSize.size( ) ),
                                             NULL, &gWorkSize[ 0 ],  &lWorkSize[ 0 ], numWaitEvents, waitEvents, outEvents );
     OPENCL_V( call_status, _T( "clEnqueueNDRangeKernel failed" ) );
-	//OPENCL_V( clFinish(*commQueues), "clFinish failed" );
+
     if( fftRepo.pStatTimer )
     {
         fftRepo.pStatTimer->AddSample( plHandle, this->plan, kern, numQueuesAndEvents, outEvents, gWorkSize, lWorkSize );

-- 
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