Commit 9f0a4bf4 authored by martin's avatar martin

removed debug output

parent 9290c8ed
......@@ -8,7 +8,7 @@ set(SOURCE_FILES main.cpp util/allocation.cpp util/arguments.cpp util/timer.cpp
SET(CMAKE_C_COMPILER gcc)
SET(CMAKE_CXX_COMPILER g++)
set(CMAKE_CXX_FLAGS "-std=c++11 -march=corei7-avx -mavx -mavx2 -O3 -fopenmp -ffast-math -fassociative-math -Wa,-q -lcblas -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -liomp5 -lpthread")
set(CMAKE_CXX_FLAGS "-std=c++11 -march=corei7-avx -mavx -mavx2 -O3 -fopenmp -ffast-math -fassociative-math -Wa,-q -lmkl_core -lmkl_intel_lp64 -lmkl_intel_thread -liomp5 -lpthread")
# adding MKL include directory
include_directories($ENV{MKLROOT}/include)
......
......@@ -8,8 +8,6 @@ double blasMeans(long *members, double *x, int const D, int const K,
double *dist=NULL;
CUtilTimer timer;
printf("entered blasMeans\n");
assert(K <= N);
bigM = (double*) ddr_alloc(sizeof (double)*K * D * NUM_THREADS);
......
......@@ -33,7 +33,7 @@ int main(int argc, char** argv) {
members = (long*) ddr_alloc(sizeof (long) * n);
x = (double*) ddr_alloc(sizeof (double)*n * d);
if ( filename == "" ){
if ( strcmp(filename,"" ) == 0) {
random_init(x,n,d);
}else{
read_file(x, n, d, filename, isBinary);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment