Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alheinecke committed Aug 21, 2021
1 parent 113652b commit 2259537
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions level0/readbw_multilevel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@
#############################################################################

CC = gcc
#CFLAGS = -O2 -fopenmp -mavx2 -fstrict-aliasing
#CFLAGS = -O2 -fopenmp -msse3 -fstrict-aliasing
CFLAGS = -O2 -fopenmp -msse3 -fstrict-aliasing
CFLAGS = -O2 -fopenmp -mavx2 -fstrict-aliasing
CFLAGS = -O2 -fopenmp -mfma -mavx512f -mavx512cd -mavx512dq -mavx512bw -mavx512vl -fstrict-aliasing
CC = icc
CFLAGS = -O3 -mavx2 -qopenmp -qopenmp-link=static
CFLAGS = -O3 -xCOMMON-AVX512 -qopenmp -qopenmp-link=static

all: readbw_multilevel.exe
Expand Down
2 changes: 1 addition & 1 deletion level0/readbw_multilevel/readbw_multilevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ int main(int argc, char* argv[]) {
}

/* reading values from the command line */
l_n_bytes = atoi(argv[1])*2048;
l_n_bytes = ((size_t)atoi(argv[1]))*2048;
l_n_levels = atoi(argv[2]);
l_n_parts = atoi(argv[3]);
l_n_workers = atoi(argv[4]);
Expand Down

0 comments on commit 2259537

Please sign in to comment.