In the sense that the compiler spits out soooooo much information, mostly just warnings.
I checked with the Eigen3 site and they claim that CUDA kernels can use Eigen methods which I’m super excited about (I love Eigen) but compiling with it makes me wonder if it’s safe.
Here’s my Makefil, as it stands now :
MKFILE = Makefile
NVCC = nvcc --compiler-bindir /usr/bin/gcc-4.7 -lstdc++ -arch sm_21 -O4 `pkg-config --cflags --libs eigen3`
CUSOURCE = main.cu
CUHEADER = structures.cuh
CUOBJECTS = ${CUSOURCE:.cu=.o}
EXECBIN = regulus
all : ${EXECBIN}
${EXECBIN} : ${CUOBJECTS}
${NVCC} -o $@ ${CUOBJECTS} -lm
%.o : %.cu
${NVCC} -c $<
clean :
- rm ${CUOBJECTS} ${EXECBIN}
again :
${MAKE} clean all