diff --git a/example/Vector/9_gpu_cuda_interop/Makefile b/example/Vector/9_gpu_cuda_interop/Makefile index 2a520f46bbfda2b760fb3a91ff8745346b531915..65b1acd6736b1df28a084ad45fee8658fb053cd2 100644 --- a/example/Vector/9_gpu_cuda_interop/Makefile +++ b/example/Vector/9_gpu_cuda_interop/Makefile @@ -4,6 +4,7 @@ ifdef CUDA_ON_CPU INCLUDE_PATH_NVCC= CUDA_CC_LINK=mpic++ CUDA_OPTIONS= + LIBS_SELECT=$(LIBS) else ifeq (, $(shell which nvcc)) CUDA_CC=mpic++ -x c++ $(INCLUDE_PATH)