Skip to content

Commit

Permalink
Fixing default Makefile configuration for vector_add
Browse files Browse the repository at this point in the history
  • Loading branch information
nibrunie committed Nov 20, 2023
1 parent 3a9d3ba commit 2619b73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vector_add/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
# RISC-V C Compiler
# available options (the version used must support RVV intrinsics)
# clang/llvm
RISCVCC=clang --target=riscv64
# RISCVCC=clang --target=riscv64
# GNU Compiler Collection (GCC)
# RISCVCC=riscv64-unknown-elf-gcc
RISCVCC=riscv64-unknown-elf-gcc

# architectural parameters for the simulation
# width of vector registers (VLEN)
VLEN?=128

# path to proxy-kernel (pk)
PK_PATH=/opt/riscv/riscv64-unknown-elf/bin/pk
PK_PATH=/opt/riscv/riscv64-unknown-elf/bin/pk64

# SIMULATOR
# Available options in the Docker (uncomment one)
Expand All @@ -25,7 +25,7 @@ vector_add_intrinsics.o: vector_add_intrinsics.c
bench_vector_add: bench_vector_add.c vector_add_intrinsics.o
$(RISCVCC) -O2 -march=rv64gcv $^ -o $@

sim_bench_vector_add: bench-0_vector_add
sim_bench_vector_add: bench_vector_add
$(SIMULATOR) $^

clean:
Expand Down

0 comments on commit 2619b73

Please sign in to comment.