eend
done
if use profiler
then
make_wrapper nvprof "${ecudadir}/bin/nvprof" "." "${ecudadir}/lib64:${ecudadir}/lib"
fi
dodir ${cudadir}
into ${cudadir}
EOF
doenvd "${T}"/99cuda
use profiler && \
dobin "${T}"/cuda-config
}