Undefined reference to `nppGetStreamContext' when linking to nppif_static

Hi

I get the following link errors when linking an executable to nppif_static. Here is my

# define the project name
project(CVizBlackSpotFillTest CXX CUDA)

# set c++ standard
set(CMAKE_CXX_STANDARD 14)

# add include path
include_directories(${PROJECT_SOURCE_DIR}/../../../libs/UlsImgMode/BMode/CViz/include
					${PROJECT_SOURCE_DIR}/../../../libs/ImgProcess/include
					/usr/local/cuda/include)

# enable position independen code
set_target_properties(CViz PROPERTIES POSITION_INDEPENDENT_CODE ON)

# enable cuda separable compilation
set_target_properties(CViz PROPERTIES CUDA_SEPARABLE_COMPILATION ON)

# add executable and link libraries
add_executable(CVizBlackSpotFillTest CVizBlackSpotFillTest.cpp)
target_link_libraries(CVizBlackSpotFillTest gtest_main ImgProcess CViz)
target_link_libraries(CVizBlackSpotFillTest nppc_static cudart_static nppif_static)

Any kind of help is appreciated.

Thanks!

Wai Kwok

/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function nppiFilterBorder32f_8u_C4R': Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x78d8): undefined reference to nppGetStreamContext’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function nppiFilterBorder32f_8u_AC4R': Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x84b0): undefined reference to nppGetStreamContext’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function nppiFilterBorder_32f_C2R': Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x8630): undefined reference to nppGetStreamContext’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function nppiFilterBorder_32f_C3R': Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x8ac0): undefined reference to nppGetStreamContext’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function nppiFilterBorder_32f_AC4R': Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x8f50): undefined reference to nppGetStreamContext’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o):Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x93e0): more undefined references to nppGetStreamContext' follow /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<unsigned char, unsigned char, 3, float>(unsigned char const*, int, NppiSize, NppiPoint, unsigned char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x620): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xd80): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe08): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe5c): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xee0): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10a8): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10e8): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x116c): undefined reference to Event’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<signed char, signed char, 3, float>(signed char const*, int, NppiSize, NppiPoint, signed char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)': Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x620): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xd80): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe08): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe5c): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xee0): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10a8): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10e8): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x116c): undefined reference to Event' /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<unsigned short, unsigned short, 3, float>(unsigned short const*, int, NppiSize, NppiPoint, unsigned short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x71c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xef0): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf78): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xfd0): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x104c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1200): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1240): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x12c8): undefined reference to Event’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<short, short, 3, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)': Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x71c): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xef0): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf78): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xfd0): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x104c): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1200): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1240): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x12c8): undefined reference to Event' /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloat16fNew<short, short, 3, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x71c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xef0): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf78): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xfd0): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x104c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1200): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1240): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x12c8): undefined reference to Event’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloat32fNew<float, float, 1, float>(float const*, int, NppiSize, NppiPoint, float*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)': Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4f4): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb0c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb88): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbd0): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc64): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe00): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe38): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xec0): undefined reference to Event' /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<unsigned char, unsigned char, 1, float>(unsigned char const*, int, NppiSize, NppiPoint, unsigned char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4fc): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb1c): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb98): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbe0): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc74): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe10): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe48): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xed0): undefined reference to Event’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<signed char, signed char, 1, float>(signed char const*, int, NppiSize, NppiPoint, signed char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)': Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4fc): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb1c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb98): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbe0): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc74): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe10): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe48): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xed0): undefined reference to Event' /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<unsigned char, short, 1, float>(unsigned char const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4f4): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb18): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb90): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbdc): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc64): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe04): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe40): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xec8): undefined reference to Event’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<signed char, short, 1, float>(signed char const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)': Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4f4): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb18): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb90): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbdc): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc64): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe04): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe40): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xec8): undefined reference to Event' /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<unsigned short, unsigned short, 1, float>(unsigned short const*, int, NppiSize, NppiPoint, unsigned short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x528): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb7c): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbf4): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc44): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xcc8): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe6c): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xea8): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf30): undefined reference to Event’
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloatNew<short, short, 1, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)': Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x528): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb7c): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbf4): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc44): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xcc8): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe6c): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xea8): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf30): undefined reference to Event' /usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function void FilterBorderFloat16fNew<short, short, 1, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)‘:
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x528): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb7c): undefined reference to Event’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbf4): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc44): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xcc8): undefined reference to Event' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe6c): undefined reference to Stream’
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xea8): undefined reference to Stream' /usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf30): undefined reference to Event’
collect2: error: ld returned 1 exit status
make[2]: *** [apps/tests/BModeCViz/CMakeFiles/CVizBlackSpotFillTest.dir/build.make:111: apps/tests/BModeCViz/CVizBlackSpotFillTest] Error 1
make[1]: *** [CMakeFiles/Makefile2:787: apps/tests/BModeCViz/CMakeFiles/CVizBlackSpotFillTest.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Hi,

Based on our sample below, the CMake file links cudart, nppif, nppc, nppisu and culibos.
Could you also give it a try?

Thanks.

Hi Asata

Thanks for your answer. It works if I link it with nppif rather than nppif_static. However, I want to minimize library loading and CUDA runtime startup times by linking my executable with static NPP library. According to the link , NVIDIA 2D Image and Signal Processing Performance Primitives (NPP) — npp 12.3 documentation,

Library Organization

Note: The static NPP libraries depend on a common thread abstraction layer library called cuLIBOS (libculibos.a) that is now distributed as a part of the toolkit. Consequently, cuLIBOS must be provided to the linker when the static library is being linked against. To minimize library loading and CUDA runtime startup times it is recommended to use the static library(s) whenever possible. To improve loading and runtime performance when using dynamic libraries, NPP provides a full set of NPPI sub-libraries. Linking to only the sub-libraries that contain functions that your application uses can significantly improve load time and runtime startup performance. Some NPPI functions make calls to other NPPI and/or NPPS functions internally so you may need to link to a few extra libraries depending on what function calls your application makes. The NPPI sub-libraries are split into sections corresponding to the way that NPPI header files are split. This list of sub-libraries is as follows:

For example, on Linux, to compile a small color conversion application foo using NPP against the dynamic library, the following command can be used:

  • nvcc foo.c -lnppc -lnppicc -o foo

Whereas to compile against the static NPP library, the following command has to be used:

  • nvcc foo.c -lnppc_static -lnppicc_static -lculibos -o foo

It is also possible to use the native host C++ compiler. Depending on the host operating system, some additional libraries like pthread or dl might be needed on the linking line. The following command on Linux is suggested:

  • g++ foo.c -lnppc_static -lnppicc_static -lculibos -lcudart_static -lpthread -ldl
    -I /include -L /lib64 -o foo

Below is my updated cmake file with cuLIBOS added as the linked library for static linking.

# define the project name
project(CVizBlackSpotFillTest CXX CUDA)

# set c++ standard
set(CMAKE_CXX_STANDARD 14)

# add include path
include_directories(${PROJECT_SOURCE_DIR}/../../../libs/UlsImgMode/BMode/CViz/include
					${PROJECT_SOURCE_DIR}/../../../libs/ImgProcess/include
					/usr/local/cuda/include)

# enable position independen code
set_target_properties(CViz PROPERTIES POSITION_INDEPENDENT_CODE ON)

# enable cuda separable compilation
set_target_properties(CViz PROPERTIES CUDA_SEPARABLE_COMPILATION ON)

# add executable and link libraries
add_executable(CVizBlackSpotFillTest CVizBlackSpotFillTest.cpp)
target_link_libraries(CVizBlackSpotFillTest gtest_main ImgProcess CViz)
target_link_libraries(CVizBlackSpotFillTest culibos nppc_static cudart_static nppif_static)

However, I still get the same link errors of undefined reference.

Thanks!

Wai Kwok

Hi,

Would you mind sharing a complete reproducible source (including the .cpp file) so we can check it with our internal team?

Thanks.

Hi Aasta

Below is a zip file which has the source code and cmake file.

CudaTest.zip (784.0 KB)

Here is the build output.

/usr/bin/cmake -S/home/wklaw/SIP/CudaTest -B/home/wklaw/SIP/CudaTest/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/wklaw/SIP/CudaTest/build/CMakeFiles /home/wklaw/SIP/CudaTest/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/wklaw/SIP/CudaTest/build'
make -f CMakeFiles/CViz.dir/build.make CMakeFiles/CViz.dir/depend
make[2]: Entering directory '/home/wklaw/SIP/CudaTest/build'
cd /home/wklaw/SIP/CudaTest/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/wklaw/SIP/CudaTest /home/wklaw/SIP/CudaTest /home/wklaw/SIP/CudaTest/build /home/wklaw/SIP/CudaTest/build /home/wklaw/SIP/CudaTest/build/CMakeFiles/CViz.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/wklaw/SIP/CudaTest/build'
make -f CMakeFiles/CViz.dir/build.make CMakeFiles/CViz.dir/build
make[2]: Entering directory '/home/wklaw/SIP/CudaTest/build'
[ 16%] Building CUDA object CMakeFiles/CViz.dir/BlackSpotFill.cu.o
/usr/local/cuda-11.4/bin/nvcc    -Xcompiler=-fPIC   -x cu -dc /home/wklaw/SIP/CudaTest/BlackSpotFill.cu -o CMakeFiles/CViz.dir/BlackSpotFill.cu.o
/home/wklaw/SIP/CudaTest/BlackSpotFill.cu(56): warning: variable "rowIdx" was declared but never referenced

/home/wklaw/SIP/CudaTest/BlackSpotFill.cu(57): warning: variable "colIdx" was declared but never referenced

[ 33%] Building CXX object CMakeFiles/CViz.dir/FrameImgData.cpp.o
/usr/bin/aarch64-linux-gnu-g++   -I/usr/local/cuda/include  -fPIC   -std=gnu++11 -o CMakeFiles/CViz.dir/FrameImgData.cpp.o -c /home/wklaw/SIP/CudaTest/FrameImgData.cpp
[ 50%] Linking CXX static library libCViz.a
/usr/bin/cmake -P CMakeFiles/CViz.dir/cmake_clean_target.cmake
/usr/bin/cmake -E cmake_link_script CMakeFiles/CViz.dir/link.txt --verbose=1
/usr/bin/ar qc libCViz.a  CMakeFiles/CViz.dir/BlackSpotFill.cu.o CMakeFiles/CViz.dir/FrameImgData.cpp.o
/usr/bin/ranlib libCViz.a
make[2]: Leaving directory '/home/wklaw/SIP/CudaTest/build'
[ 50%] Built target CViz
make -f CMakeFiles/CVizTest.dir/build.make CMakeFiles/CVizTest.dir/depend
make[2]: Entering directory '/home/wklaw/SIP/CudaTest/build'
cd /home/wklaw/SIP/CudaTest/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/wklaw/SIP/CudaTest /home/wklaw/SIP/CudaTest /home/wklaw/SIP/CudaTest/build /home/wklaw/SIP/CudaTest/build /home/wklaw/SIP/CudaTest/build/CMakeFiles/CVizTest.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/wklaw/SIP/CudaTest/build'
make -f CMakeFiles/CVizTest.dir/build.make CMakeFiles/CVizTest.dir/build
make[2]: Entering directory '/home/wklaw/SIP/CudaTest/build'
[ 66%] Building CXX object CMakeFiles/CVizTest.dir/CVizTest.cpp.o
/usr/bin/aarch64-linux-gnu-g++   -I/usr/local/cuda/include  -std=gnu++11 -o CMakeFiles/CVizTest.dir/CVizTest.cpp.o -c /home/wklaw/SIP/CudaTest/CVizTest.cpp
[ 83%] Linking CUDA device code CMakeFiles/CVizTest.dir/cmake_device_link.o
/usr/bin/cmake -E cmake_link_script CMakeFiles/CVizTest.dir/dlink.txt --verbose=1
/usr/local/cuda-11.4/bin/nvcc   -Xcompiler=-fPIC -Wno-deprecated-gpu-targets -shared -dlink CMakeFiles/CVizTest.dir/CVizTest.cpp.o -o CMakeFiles/CVizTest.dir/cmake_device_link.o   -L/usr/local/cuda-11.4/targets/aarch64-linux/lib/stubs  -L/usr/local/cuda-11.4/targets/aarch64-linux/lib  libCViz.a -lculibos -lnppc_static -lcudart_static -lnppif_static -lcudadevrt -lrt -lpthread -ldl 
[100%] Linking CXX executable CVizTest
/usr/bin/cmake -E cmake_link_script CMakeFiles/CVizTest.dir/link.txt --verbose=1
/usr/bin/aarch64-linux-gnu-g++     CMakeFiles/CVizTest.dir/CVizTest.cpp.o CMakeFiles/CVizTest.dir/cmake_device_link.o  -o CVizTest   -L/usr/local/cuda-11.4/targets/aarch64-linux/lib/stubs  -L/usr/local/cuda-11.4/targets/aarch64-linux/lib  libCViz.a -lculibos -lnppc_static -lcudart_static -lnppif_static -lcudadevrt -lcudart_static -lrt -lpthread -ldl
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `nppiFilterBorder32f_8u_C4R':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x78d8): undefined reference to `nppGetStreamContext'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `nppiFilterBorder32f_8u_AC4R':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x84b0): undefined reference to `nppGetStreamContext'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `nppiFilterBorder_32f_C2R':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x8630): undefined reference to `nppGetStreamContext'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `nppiFilterBorder_32f_C3R':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x8ac0): undefined reference to `nppGetStreamContext'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `nppiFilterBorder_32f_AC4R':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x8f50): undefined reference to `nppGetStreamContext'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o):Filter32f_SM20.compute_87.cudafe1.cpp:(.text+0x93e0): more undefined references to `nppGetStreamContext' follow
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<unsigned char, unsigned char, 3, float>(unsigned char const*, int, NppiSize, NppiPoint, unsigned char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x620): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xd80): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe08): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe5c): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xee0): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10a8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10e8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x116c): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<signed char, signed char, 3, float>(signed char const*, int, NppiSize, NppiPoint, signed char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x620): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xd80): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe08): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe5c): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xee0): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10a8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x10e8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x116c): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<unsigned short, unsigned short, 3, float>(unsigned short const*, int, NppiSize, NppiPoint, unsigned short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x71c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xef0): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf78): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xfd0): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x104c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1200): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1240): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x12c8): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<short, short, 3, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x71c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xef0): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf78): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xfd0): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x104c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1200): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1240): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x12c8): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloat16fNew<short, short, 3, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x71c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xef0): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf78): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xfd0): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x104c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1200): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x1240): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi3EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x12c8): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloat32fNew<float, float, 1, float>(float const*, int, NppiSize, NppiPoint, float*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4f4): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb0c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb88): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbd0): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc64): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe00): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe38): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat32fNewIffLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xec0): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<unsigned char, unsigned char, 1, float>(unsigned char const*, int, NppiSize, NppiPoint, unsigned char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4fc): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb1c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb98): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbe0): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc74): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe10): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe48): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhhLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xed0): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<signed char, signed char, 1, float>(signed char const*, int, NppiSize, NppiPoint, signed char*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4fc): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb1c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb98): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbe0): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc74): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe10): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe48): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIaaLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xed0): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<unsigned char, short, 1, float>(unsigned char const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4f4): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb18): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb90): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbdc): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc64): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe04): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe40): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIhsLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xec8): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<signed char, short, 1, float>(signed char const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x4f4): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb18): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb90): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbdc): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc64): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe04): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe40): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIasLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xec8): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<unsigned short, unsigned short, 1, float>(unsigned short const*, int, NppiSize, NppiPoint, unsigned short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x528): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb7c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbf4): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc44): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xcc8): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe6c): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xea8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIttLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf30): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloatNew<short, short, 1, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x528): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb7c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbf4): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc44): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xcc8): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe6c): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xea8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z20FilterBorderFloatNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf30): undefined reference to `Event'
/usr/bin/ld: /usr/local/cuda-11.4/targets/aarch64-linux/lib/libnppif_static.a(Filter32f_SM20.o): in function `void FilterBorderFloat16fNew<short, short, 1, float>(short const*, int, NppiSize, NppiPoint, short*, int, NppiSize, float const*, NppiSize, NppiPoint, NppiBorderType, NppStreamContext)':
Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0x528): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xb7c): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xbf4): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xc44): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xcc8): undefined reference to `Event'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xe6c): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xea8): undefined reference to `Stream'
/usr/bin/ld: Filter32f_SM20.compute_87.cudafe1.cpp:(.text._Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext[_Z23FilterBorderFloat16fNewIssLi1EfEvPKT_i8NppiSize9NppiPointPT0_iS3_PKT2_S3_S4_14NppiBorderType16NppStreamContext]+0xf30): undefined reference to `Event'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/CVizTest.dir/build.make:105: CVizTest] Error 1
make[2]: Leaving directory '/home/wklaw/SIP/CudaTest/build'
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/CVizTest.dir/all] Error 2
make[1]: Leaving directory '/home/wklaw/SIP/CudaTest/build'
make: *** [Makefile:84: all] Error 2

The unreferenced symbols are found when Linking CXX executable CVizTest using g++ 9.4.0.

Thanks!

Wai Kwok

Hi,

Sorry to keep you waiting.
Please update the CMakeLists.txt file as below:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9316ebc..086be0e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,4 +29,4 @@ add_executable(CVizTest CVizTest.cpp)
 set_target_properties(CVizTest PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
 
 # linked libraries for CVizTest
-target_link_libraries(CVizTest PRIVATE CViz culibos nppc_static cudart_static nppif_static)
+target_link_libraries(CVizTest PRIVATE CViz cudart_static nppif_static nppc_static nppicc_static culibos)

Thanks.

Hi Aasta

Thanks very much for your help. nppicc_static is missed in my
linked library list.

Wai Kwok

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.