[clblas] 27/75: fixing duplicate include and removing TODO note
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Jan 24 23:30:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository clblas.
commit 02cf387b9f196cc1083402258ead197aeff6c42e
Author: David Tanner <guacamoleo at gmail.com>
Date: Wed Mar 2 15:40:52 2016 -0600
fixing duplicate include and removing TODO note
---
src/library/blas/xgemm.cc | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/library/blas/xgemm.cc b/src/library/blas/xgemm.cc
index 69ddb7d..5c1ea11 100644
--- a/src/library/blas/xgemm.cc
+++ b/src/library/blas/xgemm.cc
@@ -27,10 +27,6 @@
// #include <functor_selector.h>
#include "xgemm.h"
-//#define GCC_VERSION (__GNUC__ * 10000 \
-// + __GNUC_MINOR__ * 100 \
-// + __GNUC_PATCHLEVEL__)
-
#ifdef _WIN32
//#include <thread>
#else
@@ -143,13 +139,11 @@ void makeGemmKernel(
size_t *kernelBinarySize,
const char *binaryBuildOptions)
{
- //TODO: This will need to be converted to thread local when making clBLAS thread safe
typedef std::map<std::string, cl_kernel> kernel_map_t;
#if defined( _WIN32 )
__declspec( thread ) static kernel_map_t *kernel_map = 0;
#else
-#include <pthread.h>
__thread static kernel_map_t *kernel_map = 0;
#endif
if (!kernel_map) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git
More information about the debian-science-commits
mailing list