Skip to content

Commit

Permalink
Added MSSE{1,2,3} flags to configure
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Sep 25, 2011
1 parent 544c920 commit 3f81b07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion src/configure
Expand Up @@ -145,7 +145,7 @@ test -z "$LIBS" || _ld_extra="-L`echo $LIBS | sed 's,:, -L,g'`"
CONFIGURE_OPTIONS="configure options $@"
GDB=gdb
MAKE=make
COMP_OPTS="-Wall -O9 -fexpensive-optimizations -frerun-cse-after-loop -fcse-follow-jumps -finline-functions -fschedule-insns2 -fthread-jumps -fforce-addr -fstrength-reduce -funroll-loops"
COMP_OPTS="-Wall -O9 -fexpensive-optimizations -frerun-cse-after-loop -fcse-follow-jumps -finline-functions -fschedule-insns2 -fthread-jumps -fforce-addr -fstrength-reduce -funroll-loops -mfpmath=sse -msse -msse2 -msse3"
COMP_DEFAULT_OPTS="-Wall -O2"
COMP_NO_OPTS="-Wall -O0"
COMPFLAGS_C=-fPIC
Expand Down
19 changes: 0 additions & 19 deletions src/shogun/preprocessor/KernelPCA.h
Expand Up @@ -65,23 +65,6 @@ class CKernelPCA: public CDimensionReductionPreprocessor
*/
virtual CSimpleFeatures<float64_t>* apply_to_string_features(CFeatures* features);

/** get kernel */
CKernel* get_kernel() const
{
SG_REF(m_kernel);
return m_kernel;
}

/** set kernel
* @param k
*/
void set_kernel(CKernel* k)
{
SG_REF(k);
SG_UNREF(m_kernel);
m_kernel=k;
}

/** get transformation matrix, i.e. eigenvectors
*
*/
Expand Down Expand Up @@ -123,8 +106,6 @@ class CKernelPCA: public CDimensionReductionPreprocessor
/** true when already initialized */
bool m_initialized;

/** kernel */
CKernel* m_kernel;
};
}
#endif
Expand Down

0 comments on commit 3f81b07

Please sign in to comment.