Skip to content

Commit

Permalink
Fix CI failing
Browse files Browse the repository at this point in the history
  • Loading branch information
rozukke committed Jul 3, 2024
1 parent 353727b commit cdffd8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.PHONY: all test clean run build run_test

all: build
all: rebuild

clean:
rm -f test/results.csv
rm -f results.csv
rm -rf build
rm -f speed_cpu

build:
build: clean
cmake -Bbuild
$(MAKE) -C ./build
mv ./build/speed_cpu ./

rebuild: clean
cmake -Bbuild
rebuild:
$(MAKE) -C ./build
mv ./build/speed_cpu ./

Expand All @@ -23,7 +23,7 @@ run: build
run_test: build
./speed_cpu ./weights_and_biases.txt ./tensors

test: rebuild
test: build
./speed_cpu ./weights_and_biases.txt ./tensors 1
mv ./results.csv ./test
python3 ./test/verify_csv.py
Expand Down
1 change: 1 addition & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ int main(int argc, char* argv[]) {
int iter_per_in = atoi(argv[3]);
// int NUM_THREADS = sysconf(_SC_NPROCESSORS_ONLN);

if (iter_per_in > 1)
#pragma omp parallel
{
int force = 0;
Expand Down

0 comments on commit cdffd8d

Please sign in to comment.