Added some comments and -g flag to Makefile
This commit is contained in:
+2
-1
@@ -2,4 +2,5 @@
|
||||
*.bmp
|
||||
tricorn
|
||||
*.o
|
||||
*.d
|
||||
*.d
|
||||
*.data
|
||||
@@ -1,5 +1,5 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wextra -O3 -std=c17 -msse4.1
|
||||
CFLAGS = -Wall -Wextra -g -O3 -std=c17 -msse4.1
|
||||
DEPFLAGS = -MMD -MP
|
||||
LDFLAGS = -lm
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ unsigned tests(void) {
|
||||
void benchmarking(void) {
|
||||
// do the benchmarking
|
||||
}
|
||||
// REMOVE LATER: interesting test command ./tricorn -s -2.0,0.6 -r 0.0010 -n 200 -d 1920,-1080 -o image.bmp -C
|
||||
// REMOVE LATER: interesting test command ./tricorn -s -2.0,0.6 -r 0.0010 -n 200 -d 1920,1080 -o image.bmp -C
|
||||
const char* help_messsage = "Help Message\n\n"
|
||||
"Usage:\n"
|
||||
" ./tricorn [OPTIONS]\n\n"
|
||||
@@ -206,10 +206,10 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
printf("yashar\n");
|
||||
if(version_to_use == 0) {
|
||||
if(version_to_use == 0) { // -V0 uses optimized SIMD-Version
|
||||
tricorn_simd(complexA,width,height,resolution,n,colored,tempArr);
|
||||
}
|
||||
else {
|
||||
else if (version_to_use == 1){ // -V1 uses unoptimized version
|
||||
tricorn(complexA,width,height,resolution,n,colored,tempArr);
|
||||
}
|
||||
printf("yashar\n");
|
||||
|
||||
Reference in New Issue
Block a user