Hi FS experts, My colleague is trying to compile FreeSurfer by configuring with a "--with-cuda" flag. The build process stopped with the error message:
===== em_register_cuda.cu(347): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed em_register_cuda.cu(350): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed em_register_cuda.cu(353): error: calling a host function("LinearGenerator::LinearGenerator") from a __device__/__global__ function("TransformLogps") is not allowed em_register_cuda.cu(357): error: calling a host function("TransformGenerator::TransformGenerator") from a __device__/__global__ function("TransformLogps") is not allowed 4 errors detected in the compilation of ... ===== FYI, the build environment is as follows: GeForce GTX 690 CUDA Toolkit 4.2 CentOS 6.2 Are there any specific requirements for building CUDA-enabled FreeSurfer? Any information/help would be appreciated. Thanks, Akio _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.