Skip to content

Commit 02cf387

Browse files
committed
fixing duplicate include and removing TODO note
1 parent 2b56167 commit 02cf387

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/library/blas/xgemm.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
// #include <functor_selector.h>
2828
#include "xgemm.h"
2929

30-
//#define GCC_VERSION (__GNUC__ * 10000 \
31-
// + __GNUC_MINOR__ * 100 \
32-
// + __GNUC_PATCHLEVEL__)
33-
3430
#ifdef _WIN32
3531
//#include <thread>
3632
#else
@@ -143,13 +139,11 @@ void makeGemmKernel(
143139
size_t *kernelBinarySize,
144140
const char *binaryBuildOptions)
145141
{
146-
//TODO: This will need to be converted to thread local when making clBLAS thread safe
147142
typedef std::map<std::string, cl_kernel> kernel_map_t;
148143

149144
#if defined( _WIN32 )
150145
__declspec( thread ) static kernel_map_t *kernel_map = 0;
151146
#else
152-
#include <pthread.h>
153147
__thread static kernel_map_t *kernel_map = 0;
154148
#endif
155149
if (!kernel_map) {

0 commit comments

Comments
 (0)