Skip to content

Not able to compile the code #1

@gsc74

Description

@gsc74

@luigifusco I'm trying to compile the code, but I'm encountering the following error when running make inside the src folder.

nvcc pingpong.o main.cu -g -O2 -arch=sm_90 -lnuma -lcublas
measurement.hpp(271): warning #549-D: variable "device_clock" is used before its value is set

Remark: The warnings can be suppressed with "-diag-suppress <warning-number>"

main.cu(136): error: no instance of function template "run_cublas_gemm_tests" matches the argument list
            argument types are: (int, size_t)

main.cu(167): error: identifier "run_clock_analysis_host" is undefined

main.cu(186): error: identifier "run_memcpy_tests_host" is undefined

main.cu(205): error: identifier "run_cuda_memcpy_tests" is undefined

main.cu(222): error: identifier "run_memcpy_tests_host" is undefined

main.cu(260): error: no instance of function template "latency_test_host_template" matches the argument list
            argument types are: (int, size_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)

main.cu(261): error: no instance of function template "latency_test_host_template" matches the argument list
            argument types are: (int, size_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)

main.cu(264): error: no instance of function template "latency_test_host_template" matches the argument list
            argument types are: (int, size_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)

main.cu(265): error: no instance of function template "latency_test_host_template" matches the argument list
            argument types are: (int, size_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)

9 errors detected in the compilation of "main.cu".
make: *** [Makefile:2: build] Error 2

Kindly let me know the proper instructions to compile the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions