Skip to content

Getting error when trying to run gemm code for ARM benchmark  #122

@Aditya-Dev598

Description

@Aditya-Dev598

I'm trying to rum the gemm code for ARM benchmark on NVIDIA Jetson TX2. these are the modifications that I made in the Makefile.

all: gemm conv sparse

BIN_DIR?=bin
EIGEN_PATH?=Eigen/Eigen
MKDIR=mkdir -p
ARM_COMPUTE_INCLUDE_PATH?=/usr/local/ARMComputeLib
ARM_COMPUTE_LIB_PATH?=/usr/local/ARMComputeLib/
ARM_COMPUTE_LIB=$(ARM_COMPUTE_LIB_PATH)/lib/linux-arm64-v8a-neon
KERNELS_DIR=../kernels/

gemm: gemm_bench.cc
$(MKDIR) $(BIN_DIR)
g++ -O3 --std=c++11 -I $(KERNELS_DIR) -lpthread -o bin/gemm_bench $<

When i run the command on the terminal.

nvidia@nvidia-desktop:~/Downloads/DeepBench-master/code/arm$ ./run_gemm_bench.sh

This is the error that I got

fatal: not a git repository (or any of the parent directories): .git
mkdir -p bin
g++ -O3 --std=c++11 -I ../kernels/ -lpthread -o bin/gemm_bench gemm_bench.cc
gemm_bench.cc:6:10: fatal error: gemmlowp/public/gemmlowp.h: No such file or directory
#include "gemmlowp/public/gemmlowp.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:12: recipe for target 'gemm' failed
make: *** [gemm] Error 1
build success!
start running!
./run_gemm_bench.sh: line 8: bin/gemm_bench: No such file or directory
running complete!

It will be grateful if anyone can help me out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions