When compiling the dynamic mandelbrot example, I get the following error:
[0] % make WRITE_PNG=no
nvcc -O3 -arch=sm_35 -DSKIP_PNG_WRITING --relocatable-device-code=true \
-Xcompiler -Wall -Xcompiler -fopenmp mandelbrot.cu pngwriter.o -o mandelbrot -lpng
mandelbrot.cu(178): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch
mandelbrot.cu(178): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch
mandelbrot.cu(184): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch
mandelbrot.cu(184): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch
4 errors detected in the compilation of "/tmp/tmpxft_00000c38_00000000-8_mandelbrot.cpp1.ii".
Makefile:14: recipe for target 'mandelbrot' failed
make: *** [mandelbrot] Error 1
My system specs follow:
- GPU: TITAN X
- NVIDIA Driver: 396.37
- CUDA 9.2.148
- OS: Ubuntu 16.04 LTS with kernel: 4.4.0-130-generic
When compiling the dynamic mandelbrot example, I get the following error:
My system specs follow: